Home All Groups Group Topic Archive Search About

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

Author
24 Feb 2007 11:55 PM
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

Author
26 Feb 2007 6:28 PM
Rad [Visual C# MVP]
On Sat, 24 Feb 2007 23:55:28 GMT, Christopher Kurtis Koeber wrote:

Show quote
> 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.
Author
28 Feb 2007 2:26 AM
Christopher Kurtis Koeber
Thanks, I will give this a try.
Regards,
Christopher Koeber
Show quote
"Rad [Visual C# MVP]" <nospam@nospam.com> wrote in message
news:1eg1fhcl9owlb.dlg@thinkersroom.com...
> On Sat, 24 Feb 2007 23:55:28 GMT, Christopher Kurtis Koeber wrote:
>
>> 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.
> --
> Bits.Bytes
> http://bytes.thinkersroom.com

AddThis Social Bookmark Button