Cannot send email due to antivirus

M

Mike TI

April 13, 2006

Hi all

I am trying to send an email through my application (VB.NET 2005). The email
goes as required. However if I turn 'Internet Auto Protect' feature ON in
Norton Antivirus, the email goes only when I exit from my VB application.

Please assist.
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)

***********
 
M

Mike Lowery

Your AV software is probably blocking port 25 which is SMTP (mail xfer
protocol.) Reconfigure your AV to not block this port and your problem will
likely go away.
 

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