Email Issue due to Antivirus (posting again)

M

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([email protected])

Mail.To.Add("(e-mail address removed)")

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()

***********
 
S

Stephany Young

As advised in response to your earlier post, turn the 'Internet Auto
Protect' off.
 
V

+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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top