Hide menu Last updated: Oct 12 2015

This topic describes how to configure the SMTP email notification features in Episerver Commerce. See also Notifications for related information.

Name of Sender

  1. Locate the appSettings section in the web.config file or in the appSettings.config file, which should be in the root of the website (sample site).
  2. Change the value of the key Mediachase.StoreEmail to the email address for your store.
  3. Change the value of the key Mediachase.StoreTitle to the title of your store. This title appears in the subject title of the email the store sends to the customer.

email body formatting provider

  1. Locate your website's web.config file.
  2. Locate the node /Configuration/FrameWorkProviders/templateService.
  3. Add a custom template provider to provide a different format to your emails.
  4. Configure this provider to be the default provider.

SMTP account

  1. Locate your website's web.config file.
  2. Locate the node /Configuration/System.net/.
  3. Add a node for mailSettings, and an SMTP node.
  4. Configure the attributes of these nodes according to your SMTP server settings. For testing purposes, you can remove the user name and password attributes.

Example: SMTP account configuration

XML
<system.net>
  <mailSettings>
    <smtp from="your email address" deliveryMethod="Network">
    <network defaultCredentials="false"
      host="url to your smtp server"
      port="smtp servers port"
      username=your username
      password=your passwordsmtp>
  </mailSettings>
</system.net>

Comments