Configuring DotNetNuke to Send Email Using the Mail Relay
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 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.
Information
The standard email servers provided by Managed.com 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, your email send 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.
Mail Relay Configuration
- First, you must have the Mail Relay Service provisioned by our team, this may have already been done when you originally signed up.
- In DNN 6.x and later, go to Host > Host Settings > Advanced Settings and expand SMTP Settings.
In DNN 5.x and earlier versions go to Host > Host Settings > Advanced Settings and expand SMTP Settings.
- Then you will need to configure your mail service as follows:
SMTP Host: Relay.managed.com
SMTP Authentication Method: Basic
SMTP Username: ####@relay1.us1.managed.com
SMTP Password: #######
If you do not know the values for your SMTP username and password, you will need to request them or have the service set up. Please open a support ticket with this request. Once these settings have been provisioned for you, they may be used on all DNN websites under your account. If you are on either single or multiple dedicated servers, one Mail Relay service will be sufficient for all the domains on all of your servers.
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 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.
Article ID: 669, Created: April 26, 2012 at 2:38 PM, Modified: October 21, 2014 at 1:59 PM