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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...error logerror log
Previous
 
Next
New Post
5/8/2006 6:22 PM
 

Hello

In case this might give an understanding of the problem, here is my error log:

AssemblyVersion: -1
Method:
FileName:
FileLineNumber: -1
FileColumnNumber: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
AbsoluteURL:
AbsoluteURLReferrer:
ExceptionGUID:
DefaultDataProvider:
InnerException: Could not access 'CDO.Message' object.
Message: 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 (0x80040211): The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available --- End of inner exception stack trace --- 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.Services.Mail.Mail.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)
StackTrace:
Source:
Server Name: USER-X88W8PH4KM

Thanks

 

Laura

 
New Post
5/9/2006 2:13 AM
 

Hello

 

newgirl wrote

In case this might give an understanding of the problem, here is my error log:

AssemblyVersion: -1
Method:
FileName:
FileLineNumber: -1
FileColumnNumber: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
AbsoluteURL:
AbsoluteURLReferrer:
ExceptionGUID:
DefaultDataProvider:
InnerException: Could not access 'CDO.Message' object.
Message: 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 (0x80040211): The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available --- End of inner exception stack trace --- 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.Services.Mail.Mail.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)
StackTrace:
Source:
Server Name: USER-X88W8PH4KM

Oops! I thought the post above to be a continuation of the previous post below: (sorry for double posting)

What am I doing wrong,  I am trying to set up my SMTP on my web site.

 >> Host  >> Host Settings  >> Advanced settings >> SMTP server settings.


I have set the settings accordingly using the setting supplied from my hosting provider, with SMTP Authentication set to Basic:


on test I see this error message:

Could not access 'CDO.Message' object.

What else do I need to set?

Thanks

Laura

 
New Post
5/9/2006 2:52 AM
 

Hello

I understand from previous posts that the problem could be:

ISP is not allowing your application access to the CDOSYS.dll

I know this is s dumb question, but where is this dll file located?

 

Thanks

Laura

 
New Post
7/3/2006 4:18 AM
 

Hi guys

I too suffered with this sick error and found a good solution on the net, I tried its works 100% fine with me. Wish you all a good luck too. Here's the code, as i made it resuable function to send a mail there are some variables i pass, so you can change them to their exact values

Dim MyMail As New MailMessage

MyMail.From = sFrom

MyMail.To = sTo

MyMail.Subject = sSubject

MyMail.Body = sMessage

Select Case UCase(sFormat)

Case "HTML" : MyMail.BodyFormat = MailFormat.Html

Case Else : MyMail.BodyFormat = MailFormat.Text

End Select

MyMail.Priority = MailPriority.High

MyMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "0")

 

//GetCommonConstants("SMTPServer") this is for your smptserver name or address

SmtpMail.SmtpServer.Insert(0, GetCommonConstants("SMTPServer"))

 

SmtpMail.SmtpServer = GetCommonConstants("SMTPServer")

SmtpMail.Send(MyMail)

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...error logerror log


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