Using System.Net.Mail with Antivirus Software ...

  • Thread starter Christopher Kurtis Koeber
  • Start date
C

Christopher Kurtis Koeber

Hello,
I am creating an application that sends messages using the
System.Net.Mail class and I am running into a problem with Antivirus
software delaying messages. If I disable the e-mail protection features of
the anti-virus software the messages are delivered with no problems but if
the aniti-virus software's e-mail protection features are enabled the
messages are either delayed for 1 or more minutes or the messages only get
delivered when the application is closed. Is there a way I can work with the
System.Net.Mail class to send messages that will work well.
It's just that I would like to code my applications so that they will
play well with anti-virus software that is installed on client computer
systems.
Thank you very much for your time.
Regards,
Christopher Koeber
 
R

Rad [Visual C# MVP]

Hello,
I am creating an application that sends messages using the
System.Net.Mail class and I am running into a problem with Antivirus
software delaying messages. If I disable the e-mail protection features of
the anti-virus software the messages are delivered with no problems but if
the aniti-virus software's e-mail protection features are enabled the
messages are either delayed for 1 or more minutes or the messages only get
delivered when the application is closed. Is there a way I can work with the
System.Net.Mail class to send messages that will work well.
It's just that I would like to code my applications so that they will
play well with anti-virus software that is installed on client computer
systems.
Thank you very much for your time.
Regards,
Christopher Koeber

You might want to try disposing the mail message object in your code after
you've sent it.
 

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