Problems with System.Web.Mail

  • Thread starter Thread starter marc gold
  • Start date Start date
M

marc gold

I am trying to create a form that allows someone to send a web page (the
whole html not a link) via email. I get the following error.

System.Web.HttpException: Could not access 'CDO.Message' object. --->
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. --->
System.Runtime.InteropServices.COMException (0x80040212): The transport
lost its connection to the server.

I am using the mail.BodyFormat = MailFormat.Html (to send the html)

Now this does not fail on all pages, but only on certain pages. Anyone
have any idea? thoughts? solutions?

Thanks in advance
 
Back
Top