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 ...Failed send email notificationFailed send email notification
Previous
 
Next
New Post
7/28/2012 10:54 AM
 

Hi All,

My smtp settings as shown below:

Host Email: myemail@gmail.com

SMTP Server and port: smtp.gmail.com
SMTP Authentication: Basic
SMTP Enable SSL: True
SMTP Username: myemail@gmail.com
SMTP Password: xxxxxxxx


when i click "Test SMTP Settings", it return message "Email Sent Successfully" and i received the email too.

unfortunately, when i try Reset Password for a user or try to Delete an user record, i got the error below...


==========================================Reset Password==========================================
    AssemblyVersion: 6.1.5

    PortalID: 0

    PortalName: myportalname

    UserID: 1

    UserName: admin

    ActiveTabID: 69

    ActiveTabName: User Accounts

    RawURL: /myportal/Default.aspx?tabid=69&ctl=Edit&mid=409&UserId=38&filter=All&currentpage=1

    AbsoluteURL: /myportal/Default.aspx

    AbsoluteURLReferrer: http://localhost/myportal/Default.aspx?tabid=69&ctl=Edit&mid=409&UserId=38&filter=All&currentpage=1

    UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

    ExceptionGUID: fd84e735-7b36-4391-b86e-3f8bbda6f7b2

    InnerException: The parameter 'from' cannot be an empty string. Parameter name: from

    FileName:

    FileLineNumber: 0

    FileColumnNumber: 0

    Method: System.Net.Mail.MailMessage..ctor

    StackTrace:

    Message: System.ArgumentException: The parameter 'from' cannot be an empty string. Parameter name: from at System.Net.Mail.MailMessage..ctor(String from, String to) at DotNetNuke.Services.Mail.Mail.SendEmail(String fromAddress, String senderAddress, String toAddress, String subject, String body) in C:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Library\Services\Mail\Mail.cs:line 454 at DotNetNuke.Services.Mail.Mail.SendEmail(String fromAddress, String toAddress, String subject, String body) in C:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Library\Services\Mail\Mail.cs:line 442 at DotNetNuke.Services.Mail.Mail.SendMail(UserInfo user, MessageType msgType, PortalSettings settings) in C:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Library\Services\Mail\Mail.cs:line 144 at DotNetNuke.Modules.Admin.Users.ManageUsers.PasswordUpdated(Object sender, PasswordUpdatedEventArgs e) in c:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Website\DesktopModules\Admin\Security\ManageUsers.ascx.cs:line 945

    Source:

    Server Name: MY-PC
==========================================Reset Password==========================================


==========================================Delete User==========================================
    ModuleId: 409

    ModuleDefId: 15

    FriendlyName: User Accounts

    ModuleControlSource: DesktopModules/Admin/Security/Users.ascx

    AssemblyVersion: 6.1.5

    PortalID: 0

    PortalName: myportalname

    UserID: 1

    UserName: admin

    ActiveTabID: 69

    ActiveTabName: User Accounts

    RawURL: /myportal/Default.aspx?tabid=69

    AbsoluteURL: /myportal/Default.aspx

    AbsoluteURLReferrer: http://localhost/myportal/Default.aspx?tabid=69

    UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

    ExceptionGUID: 94413961-4289-43a0-82d0-e3d8ef2823b2

    InnerException: The parameter 'from' cannot be an empty string. Parameter name: from

    FileName:

    FileLineNumber: 0

    FileColumnNumber: 0

    Method: System.Net.Mail.MailMessage..ctor

    StackTrace:

    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The parameter 'from' cannot be an empty string. Parameter name: from ---> System.ArgumentException: The parameter 'from' cannot be an empty string. Parameter name: from at System.Net.Mail.MailMessage..ctor(String from, String to) at DotNetNuke.Services.Mail.Mail.SendEmail(String fromAddress, String senderAddress, String toAddress, String subject, String body) in C:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Library\Services\Mail\Mail.cs:line 454 at DotNetNuke.Services.Mail.Mail.SendEmail(String fromAddress, String toAddress, String subject, String body) in C:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Library\Services\Mail\Mail.cs:line 442 at DotNetNuke.Entities.Users.UserController.SendDeleteEmailNotifications(UserInfo user, PortalSettings portalSettings) in C:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Library\Entities\Users\UserController.cs:line 388 at DotNetNuke.Entities.Users.UserController.DeleteUser(UserInfo& user, Boolean notify, Boolean deleteAdmin) in C:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Library\Entities\Users\UserController.cs:line 637 at DotNetNuke.Modules.Admin.Users.UserAccounts.grdUsers_DeleteCommand(Object source, DataGridCommandEventArgs e) in c:\My Software Projects\ZD SW Projects\myportal_DNN615Source\Website\DesktopModules\Admin\Security\Users.ascx.cs:line 898 --- End of inner exception stack trace ---

    Source:

    Server Name: MY-PC

==========================================Delete User==========================================

I got no idea what is going on. Please help.

Thanks

 


 
New Post
7/29/2012 7:54 AM
 
your mail account needs to be configured for relaying, e.g. using a different sender and recipient. I am not sure, whether GMail allows this.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/29/2012 1:02 PM
 
This thread (see William Severance's post) may help http://www.dotnetnuke.com/Resources/Forums/forumid/108/threadid/452085/scope/posts.aspx
 
New Post
7/30/2012 1:40 AM
 

I do a test in Admin > Newsletters, i enter myemail@gmail.com in "From" field and it sent successfully. The recipient received the email, and the sender received "Bulkmail xxx Submitted" & "Bulk mail report" too. My xmod-pro form also got no problem when sending out email.

The problem happen only when delete user and reset password. Error message "The parameter 'from' cannot be an empty string" means the FROM email is missing??

Anyone got any idea where to input the FROM email address??

PLEASE HELP

 
New Post
7/30/2012 10:00 AM
 

Dear all,

 Please ignore this thread. Everything working fine after i restart the computer.

 Thanks for your help

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Failed send email notificationFailed send email notification


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