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 ...Email ProblemEmail Problem
Previous
 
Next
New Post
3/1/2006 3:57 AM
 

When my users use the Forgot Password link, I am getting this exception:

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 (0x8004020D): At least one of the From or Sender fields is required, and neither was found. --- 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: IIS637

Help please.

 
New Post
3/2/2006 8:59 AM
 

Two things, first make sure you have SMTP settings set from host menu. Then try a test send. If this works, ok. If not, you then will probably need to make sure IIS SMTP is setup for this or select a new mail server for your settings which is working.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
3/2/2006 9:22 AM
 

Hello:

Thanks so much, I was able to solve thi sproblem by using in the SendMail instead of PortalSettings.Email, I used PortalSettings.HostSettings["HostEmail"].ToString(), don't know why that worked in fact, and still in question of that.

I do have also a problem, when the email is sent "Forgot Password", the password field is always sent as empty, no password field.

I have been having lots of problems those two days,with a custom module registration. I created a new one, followed the process in the default registration form that comes with DNN. It works perfect on my machine, when it goes up, it is not working, it adds records to users, aspnet_membership, aspnet_users, and no record to any table with roles.

The main point I am able to catch, is that, when I create the CORE record as

objNewUser.UserId = objUser.Add(objNewUser);

This is returning a "-1" on the server, but locally working fine. I solved this online by using a utility method to get the ID of the added user, and then it is failing at UserLogin method, that is offcourse if the registration is public.

Any ideas please?

Thanks,

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Email ProblemEmail Problem


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