Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SMTP ErrorSMTP Error
Previous
 
Next
New Post
11/20/2006 9:51 PM
 
I keep getting the error below in the logs of a DNN 3.1.1 install.  I thought it was caused by DNN not being able to send emails. However, I have successfully sent a test email from the Host Settings page of the install.

Anyone got any ideas what else to look for?

InnerException: Could not access 'CDO.Message' object.
Message: System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Threading.ThreadAbortException: Thread was being aborted. at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) --- End of inner exception stack trace --- at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at DotNetNuke.Common.Globals.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword)

TIA
Antony
 
New Post
11/20/2006 9:59 PM
 

 

Your application appears to be restarting in the middle of your send.


DotNetNuke Modules from Snapsis.com
 
New Post
11/20/2006 10:24 PM
 
Thanks for the info John.

For my education can you please let me know what in the error provided this information when you viewed it.

Thanks
Antony
 
New Post
11/20/2006 11:39 PM
 

 

System.Threading.ThreadAbortException  will happen for only two reasons that I know of.  One is because the application restarts, and the other is if there is a response.redirect called with response.end set to true.

DNN automatically handles the response.redirect / response.end error internally, so I'm assuming it is an app restart.

Try sending, then checking the log right away.  Does it always have that error?  If so, do the e-mails all get sent but you still get the error in the log?


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SMTP ErrorSMTP Error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out