Configuring DotNetNuke to Send Email

Plesk Servers > Email
 
Configuring DotNetNuke to Send Email

Issue
This article applies to you if you are trying to accomplish one of the following things:
  • You are trying to configure DotNetNuke to send email.
  • You are trying to configure a third-party module to send email.
This article does not apply to you if you are trying to do any of the following:
  • You are trying to configure DotNetNuke to send bulk email.
  • You are trying to configure DotNetNuke to send email from an email address that is not hosted with Managed.com or Google Apps.
  • You are trying to configure DotNetNuke to send email from an email address that does not exist.
  • You are trying to configure DotNetNuke to send email from an email address other than the one provided under Host > Host Settings for the SMTP Username.
For that you should refer to this article: Using the Mail Relay

Information
The standard email servers provided by Managed are designed to meet the mail requirements of almost all users while protecting our customers from spammers and getting their email blacklisted.  While we have a strict anti-spam policy, we do understand that some customers do have the need to send bulk emails to their customer base.  While the mail server software that is included with our dedicated server and shared hosting platform is more than sufficient for normal email usage, it is not appropriate for Bulk Email or Mail Relay needs.  If you attempt to perform one of the items above, without following these steps, sending your email will not be successful.
A common mistake that third-party module vendors make is not configuring their module to use the DotNetNuke SMTP mail settings or not configuring their module to use all of the DotNetNuke SMTP mail settings.  If your DotNetNuke application is able to successfully send emails but third party modules are not, then you should contact the module developer to ensure that you have properly configured it to use all of the settings as specified below.


Standard Mail Sending Configuration
  1. First, you must have the Mail Relay Service provisioned by our team, this may have already been done when you originally signed up.
  2. In DNN 6.x go to Host > Host Settings > Advanced Settings and expand SMTP Settings.
    Standard SMTP settings for DNN6

    In DNN 5.x and earlier versions go to Host > Host Settings > Advanced Settings and expand SMTP Settings.
    tandard SMTP settings for DNN5
  3. Then you will need to configure your mail service depending on your mail service as specified below:

    If your email is hosted with Managed.com
    Host E-mail Address:  Email@YourDomain.com (This is an email address you have created through the Control Panel).
    SMTP Server: mail.YourDomain.com
    Authentication Settings:  Basic
    User Name:  <Same as Host Email Address>
    Password:  <The password for the above email address>
    Uncheck the box labeled "SSL"
    In order for this to work, the Host Email address must be an email address that belongs to your domain and it must be created through the Control Panel.  Additionally, the email address that it is sending to must be valid.  If your emails are not set up like this, you may get error messages. 

    If your email is hosted with Google Applications
    Host E-mail Address: Email@YourDomain.com (This is an email address you have created through Google Apps).
    SMTP Server:  smtp.gmail.com:587
    Authentication Settings:  Basic
    User Name: <Same as Host Email Address>
    Password:  <The password for the above email address>
    Place a check in the box labeled "SSL"
    In order for this to work, the Host Email address must be an email address that belongs to your domain and it must be created through the Google Apps web interface.  Additionally, the email address that it is sending to must be valid.  If your emails are not set up like this, you may get error messages.

Error Messages
If you receive error messages while trying to have DotNetNuke send email, then it means you have incorrectly attempted to set up the standard mail sending configuration.
If you receive the error "No Such User Here", it most likely means the authentication either isn't set or you have provided the wrong credentials. We recommend manually re-entering the credentials and making sure the settings match those specified above.

Add Feedback