By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,710 Members | 1,613 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,710 IT Pros & Developers. It's quick & easy.

Email Issue due to Antivirus (posting again)

P: n/a
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(xx*@xxx.com)

Mail.To.Add("yy*@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()

***********


Apr 14 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
As advised in response to your earlier post, turn the 'Internet Auto
Protect' off.
"Mike TI" <su*******@hotmail.com> wrote in message
news:e6**************@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(xx*@xxx.com)

Mail.To.Add("yy*@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()

***********

Apr 14 '06 #2

P: n/a
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.

"Mike TI" <su*******@hotmail.com> wrote in message
news:e6**************@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(xx*@xxx.com)

Mail.To.Add("yy*@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()

***********

Apr 16 '06 #3

P: 1
>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 the same problem... :confused:

Is anyone has the solution ??

thanks a lot !
May 14 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.