This topic explains how to configure an email SMTP server to work with Episerver DXC Service. For Episerver to send out email notifications, configure your email server with a server endpoint that is reachable from the site, and can send emails using a specified from-address.
DXC Service provides access to a cloud-based email service for automated sending of transactional emails for website communication. This configuration is not automatically applied by Episerver through the standard configuration transforms, so add this manually.
Episerver sets up a an email service account for you, with the required host, username, and password.
Add the following section to the web.config of your website. Contact email@example.com to obtain the host, password, userName, and port values.
<configuration> <system.net> <mailSettings> <smtp from="firstname.lastname@example.org"> <network host="[provided by Episerver]" password="[provided by Episerver]" userName="[provided by Episerver]" port="[587, 465, 25 or 2525]" /> </smtp> </mailSettings> </system.net> </configuration>
To send emails from a custom domain, you should configure a Sender Policy Framework (SPF), which is a type of Domain Name Service (DNS) record that identifies mail servers that are permitted to send emails on behalf of your domain. Episerver will advise on the correct configuration for this.
Last updated: Mar 21, 2017