Web Email

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

I have been using the Web Email facility in asp.net. I have used it
successfully many times. This time I am sending the same email to several
users so I construct the string of email addresses for the To field.
Sometimes it is successful and sometimes it fails.

Has anyone had this experience?

Jay
 
I tried again and it is now consistently working. No matter how many people
I selected to send an email to it worked.

I was just wondering if others have had similar difficulties, or if there
are constraints on the size of email, etc. The emails I am sending are HTML
and 30 or so lines of text.

Jay
 
This is the code I am using. It works some of the time.

Try
SmtpMail.Send(eMail)
Catch ex as Exception
Dim msg1 as String = ex.message
Dim msg1 as String = exInnerException.Message
EventLog.Insert ("SendEmail", msg1 + " InnerException: " + msg2
End Try

EventLog stores error in database.

The error is:
Could not access 'CDO.Message' object. InnerException: Exception has been
thrown by the target of an invocation.

Thanks for you help
 
Back
Top