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("mis@finmedsys.com", _
"mwiszowaty@finmedsys.com", _
"Email test program", _
ex.tostring & vbNewLine & Date.Now.ToString)
kimiraikkonen - 12 May 2008 17:17 GMT
On May 12, 6:58 pm, "Marcin Wiszowaty" <mwiszow...@finmedsys.com>
wrote:
> Hello all,
>
[quoted text clipped - 25 lines]
>
> 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
rowe_newsgroups - 12 May 2008 19:57 GMT
On May 12, 11:58 am, "Marcin Wiszowaty" <mwiszow...@finmedsys.com>
wrote:
> Hello all,
>
[quoted text clipped - 25 lines]
>
> 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]
Marcin Wiszowaty - 13 May 2008 15:40 GMT
Im teribly sorry guys.
Mistake in code.
It works just fine.
Thank you for your efforts.
Marcin