Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Configure SMTP for email services

Describes email configuration in Commerce (SaaS).

Commerce (SaaS) 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 Commerce (SaaS) 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 Commerce (SaaS), the SMTP settings will be configured for you by Optimizely. The application will use an external emailing service for all email communication.