Outgoing e-mail scan causing exception

  • Thread starter Thread starter Earl
  • Start date Start date
E

Earl

I've got a little utility to send documents from within my program, but one
issue I have not been able to overcome is that it throws an exception when
the anti-virus scans it before sending. Anyone have an idea how to overcome
this (without disabling the outbound e-mail scan)?
 
You need to find out what is causing the exception. To start off, what
exception is being thrown? Is it a network exception? May be your
connection is timing out before the scanning software has time to complete
the scan. If this is the case increasing the timeout value may help. If
you are using System.Web.Mail and the exception thrown does not give any
specific details you may want to send a sample to the virus scanner support
and see if there are any known issues.

Bill
http://bill.atwill.com/
 
Back
Top