sending email

  • Thread starter Thread starter Marcin Wiszowaty
  • Start date Start date
M

Marcin Wiszowaty

Hello all,

I am using the code below in on my own machine to send email and it works
just fine. VB console application.

When i tried to run the same program from one of our servers it doesnt.

There isnt even an error message generated.

A collegue told me that it is because this dll is using iis and it is
installed on my maching but not on the server.

Is this true and if so how to do this without installing iis?



Thank you

Marcin

****************************************************

Dim client As New Net.Mail.SmtpClient("mail.finmedsys.com")

Dim msg As New Net.Mail.MailMessage("(e-mail address removed)", _

"(e-mail address removed)", _

"Email test program", _

ex.tostring & vbNewLine & Date.Now.ToString)
 
Hello all,

I am using the code below in on my own machine to send email and it works
just fine. VB console application.

When i tried to run the same program from one of our servers it doesnt.

There isnt even an error message generated.

A collegue told me that it is because this dll is using iis and it is
installed on my maching but not on the server.

Is this true and if so how to do this without installing iis?

Thank you

Marcin

****************************************************

Dim client As New Net.Mail.SmtpClient("mail.finmedsys.com")

Dim msg As New Net.Mail.MailMessage("(e-mail address removed)", _

"(e-mail address removed)", _

"Email test program", _

ex.tostring & vbNewLine & Date.Now.ToString)

Hi,
..NET framework must be installed on machine to send the mail from this
machine. Or if you expand the issue which does not work exactly, it'll
be more helpful.

Thanks,

Onur
 
Hello all,

I am using the code below in on my own machine to send email and it works
just fine. VB console application.

When i tried to run the same program from one of our servers it doesnt.

There isnt even an error message generated.

A collegue told me that it is because this dll is using iis and it is
installed on my maching but not on the server.

Is this true and if so how to do this without installing iis?

Thank you

Marcin

****************************************************

Dim client As New Net.Mail.SmtpClient("mail.finmedsys.com")

Dim msg As New Net.Mail.MailMessage("(e-mail address removed)", _

"(e-mail address removed)", _

"Email test program", _

ex.tostring & vbNewLine & Date.Now.

So are you running any antivirus software on the server? McAfee loves
to kill System.Net.Mail....

Thanks,

Seth Rowe [MVP]
 
Im teribly sorry guys.
Mistake in code.

It works just fine.
Thank you for your efforts.

Marcin
 
Back
Top