Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Configure SMTP for email services

Describes email configuration in Configured Commerce.

Configured Commerce uses the System.Net.Mail.SmtpClient object, provided by the .NET Framework, to send email.

For Optimizely-Managed solutions, the SMTP settings will be configured for you by Optimizely. The application will use an external emailing service for all email communication.

📘

Note

Optimizely only allows a single SMTP in Cloud sites. You can have only one domain per instance of Configured Commerce that the emails can come from, so you have to select the one you want.

The following example configures the delivery format, delivery method, and from address for sending emails.

<configuration>
  <system.net>
    <mailSettings?
      <smtp deliveryMethod="network" deliveryFormat="SevenBit" from="[email protected]">
        <network
          host="localhost"
          port="25"
          defaultCredentials="true" />
      </smtp>
    </mailSettings>
  </system.net?
</configuration>

For more help configuring SMTP, see the official MSDN documentation, see https://msdn.microsoft.com/en-us/library/ms164240.aspx.

📘

Note

For Configured Commerce, the SMTP settings will be configured for you by Optimizely. The application will use an external emailing service for all email communication.