Home All Groups Group Topic Archive Search About

Email Issue due to Antivirus (posting again)

Author
14 Apr 2006 6:58 AM
Mike TI
April 14, 2006

Hi all

I had posted this msg earlier also.

If I send an email through my application (VB.NET 2005) it goes immediately.

However if I turn 'Internet Auto Protect' feature ON in Norton Antivirus,
the email goes only when I close the entire VB application.

I have tried to change the Smtp port 25 defined in the antivirus program but
no luck.

Any suggestions.

Mike TI

Source Code

**********
Dim Mail As New MailMessage()

Mail.From = New MailAddress(***@xxx.com)

Mail.To.Add("***@yyy.com")

Mail.Subject = "Subject Test Email"

Mail.Body = "This is the body of the test email"

Dim Smtp As New SmtpClient("000.000.000.000")

Smtp.Send(Mail)
Mail.Dispose()

***********

Author
14 Apr 2006 8:14 AM
Stephany Young
As advised in response to your earlier post, turn the 'Internet Auto
Protect' off.


Show quoteHide quote
"Mike TI" <sunset***@hotmail.com> wrote in message
news:e6KBID5XGHA.4432@TK2MSFTNGP04.phx.gbl...
> April 14, 2006
>
> Hi all
>
> I had posted this msg earlier also.
>
> If I send an email through my application (VB.NET 2005) it goes
> immediately.
>
> However if I turn 'Internet Auto Protect' feature ON in Norton Antivirus,
> the email goes only when I close the entire VB application.
>
> I have tried to change the Smtp port 25 defined in the antivirus program
> but no luck.
>
> Any suggestions.
>
> Mike TI
>
> Source Code
>
> **********
> Dim Mail As New MailMessage()
>
> Mail.From = New MailAddress(***@xxx.com)
>
> Mail.To.Add("***@yyy.com")
>
> Mail.Subject = "Subject Test Email"
>
> Mail.Body = "This is the body of the test email"
>
> Dim Smtp As New SmtpClient("000.000.000.000")
>
> Smtp.Send(Mail)
> Mail.Dispose()
>
> ***********
>
>
>
>
Author
16 Apr 2006 1:44 PM
+Vice
Perhaps you're missing a line when posting but have you tried disposing the
SMTP as well?  On a second thought, since the email fires after the
application shuts down, if that doesn't work for you then try invoking the
email in a separate thread then closing that thread.

Show quoteHide quote
"Mike TI" <sunset***@hotmail.com> wrote in message
news:e6KBID5XGHA.4432@TK2MSFTNGP04.phx.gbl...
> April 14, 2006
>
> Hi all
>
> I had posted this msg earlier also.
>
> If I send an email through my application (VB.NET 2005) it goes
> immediately.
>
> However if I turn 'Internet Auto Protect' feature ON in Norton Antivirus,
> the email goes only when I close the entire VB application.
>
> I have tried to change the Smtp port 25 defined in the antivirus program
> but no luck.
>
> Any suggestions.
>
> Mike TI
>
> Source Code
>
> **********
> Dim Mail As New MailMessage()
>
> Mail.From = New MailAddress(***@xxx.com)
>
> Mail.To.Add("***@yyy.com")
>
> Mail.Subject = "Subject Test Email"
>
> Mail.Body = "This is the body of the test email"
>
> Dim Smtp As New SmtpClient("000.000.000.000")
>
> Smtp.Send(Mail)
> Mail.Dispose()
>
> ***********
>
>
>
>