The EXM configuration settings
The default EXM configuration settings that you can changes to.
To configure the Email Experience Manager and to change the default settings shipped with EXM, you can edit the EXM configuration files on the Content Management and Content Delivery instance located in \App_Config\Include\EmailExperience\.
In all the files, the settings are located in the <sitecore>/<settings>
section.
This topic describes the settings in the following files:
The Sitecore.EmailExperience.ContentManagement.config
file contains the following settings:
Setting | Example | Description |
---|---|---|
| 16 | Specify the number of threads that should be created when you dispatch an email campaign. The number must be equal to the |
| 8 | Specify the maximum number of dispatch tasks that should be used simultaneously to generate and send email messages to individual recipients. You can lower this number to decrease the load on the server during the dispatch. The number must be the same or lower than the number specified for the |
| 300 | Specify the number of recipients in each batch that is added to the dispatch queue. |
| 2 | Specify the number of threads that must add recipient batches to the dispatch queue. |
| false | Set to true to check the contact subscription when resuming a dispatch that was paused. |
| 10 | Specify the number of days after which Sitecore should delete a contact who used a subscription control to subscribe to a mailing list, but did not confirm the subscription. |
| 7340032 | Specify the maximum size in bytes of all the attachments for a message. The default value is 7340032. |
| false | Set to true to enable MTA emulation mode. |
| 200 | Specify the minimum amount of time in milliseconds spent to emulate the sending of a single email. Use this in conjunction with |
| 400 | Specify the maximum amount of time in milliseconds spent to emulate the sending of a single email. |
| 0.01 | Specifies the probability of connection failure into your emulation. |
| 3600 | Specify the period in seconds after which the module considers an automated message as failed and tries to resend it. |
| <relative path to the item> | Specify the path of the default global opt-out contact list that should be used for a new manager root. |
| <relative path to the item> | Specify the path to the message that a contact should receive after subscribing to a mailing list. This message contains the subscription confirmation link. |
| <relative path to the item> | Specify the path to the message that a contact should receive after clicking the confirmation link in the subscription confirmation message. |
| <relative path to the item> | Specify the path to the message that a contact should receive after opting out of a mailing list. |
| <relative path to the item> | Specify the path to the message that a contact should receive after opting out of all mailing lists. |
| <relative path to the item> | Specify the path to the message that should be sent to the email address specified in the Dispatch Process Notifications section when the dispatch process is finished. |
| <relative path to the item> | Specify the path to the activation status message of an automated message. |
| http | Specify the scheme that should be used for requests to automation states handler. |
| http | Specify the scheme that should be used for requests to the contact lists handler. |
The Sitecore.EmailExperience.ContentDelivery.config
file contains the following setting:
Setting | Example | Description |
---|---|---|
| 300 | For two email events that relate to the same message and contact, specify the maximum interval (in seconds) between the events for them to be considered as duplicate events. If the two events occur within this time frame, only the first email event is stored. This value is specified in seconds. |
The Sitecore.EmailExperience.Core.config
file contains the following settings:
Setting | Example | Description |
---|---|---|
| ECM_Key | Specify the private key for data encrypting or decrypting of the NoteThis is only used if you enable encryption for legacy links. |
| ECM Dispatch | Specify the name of the UserAgent that you want to use to request pages for rendering email messages in the dispatch process. |
| exm | Specify the name of the website that email events, such as Message sent and Message undelivered, should be associated with in Experience Analytics. |
|
| Specify the path to the handler that processes the email open events. |
| Any valid regex | Specify the regular expression that you want to use for email validation. |
| 50 | Specify the maximum number of messages or message-related campaigns, tests, and so on that EXM can create in a single folder. If there are more messages than this number, a new folder is created. |
| Phone number | Specify the contact phone number of a Sitecore user profile. This property was added to the |
| ContentLanguage | Specify the name of the property in a user profile that you want to use as the preferred language for the contact. |
| shell | Specify the name of the Shell website. It must correspond to the one in your |
| serviceuser | Specify the user name that you can log in with if anonymous access is disabled. |
| 12345 | Specify the password that you can log in with if anonymous access is disabled. |
| ec_contact_id | Used by the module to build query strings for generating messages. |
| ec_id | |
| ec_recipient | |
| ec_subscr | |
| ec_message_id | |
| ec_camp | Specify the key for identifying the email campaign on the query string. |
| ec_eq | Specify the key for identifying the module's page requests. |
| ec_url | Specify the key for identifying the target URL in a redirect request. |
| Any valid regex | Specify the regular expression that you want to use for URL validation in places where users enter URLs. |
| sitecore_master_index | Specify the name of the Master database index that you want to use for message search in EXM. |
| {DDAFB85B-1511-48B8-9374-2A8A1F371645} | Specify the channel ID that you want to add to the email campaign item when a new email campaign is created. The channel ID is used to track the email campaign when a recipient clicks a link in a message. |
The Sitecore.ExM.Framework.config
file contains the following setting:
Setting | Example | Description |
---|---|---|
| false | Set this to true to enable verbose logging in Sitecore log files. Use to troubleshoot EXM problems. |
This configuration file is disabled by default (Sitecore.EmailExperience.ContentSearch.Solr.config.disabled
) and EXM is set up to use the Lucene search engine.
To use the Solr search engine, for example when you configure EXM in a scaled environment, you must enable the Sitecore.EmailExperience.ContentSearch.Solr.config
file.
The Sitecore.EDS.Providers.CustomSmtp.config
file contains the following settings:
Element | Settings | Description |
---|---|---|
|
| Set to true, to request the SMTP server via a proxy server. |
| Specify the proxy server IP address or the DNS name. | |
| Specify the HTTP authentication method of the proxy server. The valid values are Basic and NTLM. | |
| Specify the password to use when logging into the proxy server. For the SOCKS4 proxy type, this value is ignored. | |
| Specify the user name to use when logging into the proxy server. | |
| Specify the proxy server port. | |
| Specify the type of the proxy server. The valid values are:
| |
|
| Specify the SMTP server address or the IP address. |
| Specify the port number of the SMTP server. | |
| Specify the domain to use when logging into the SMTP server. | |
| Specify the user name to use when logging into the SMTP server. | |
| Specify the password for accessing the SMTP server. | |
| Specify the SMTP authentication method. The valid values are:
| |
| Set to true to enable the use of the SSL/TLS connection prior to authenticating and sending email. | |
| Specify the proxy settings to request the SMTP server via a proxy server. | |
|
| Specify the number of connections that can be created in the connection pool. The number must be equal to the |
| Specify the maximum number of retries allowed for obtaining a connection from the pool. If a connection is not obtained within the specified number of retries, a connection timeout exception is logged in the log file. | |
| Specify the time from the last connection usage after which a connection is removed from the pool. | |
| Specify the maximum time that the connection pool should spend trying to obtain a specific connection if it failed the previous attempt. If a connection pool exceeds the specified time, a connection timeout exception is logged in the log file. | |
| Specify the time that the connection pool should delay between retrying to obtain a connection. |
The Sitecore.EDS.Providers.CustomSmtp.Sync.config
file contains the following settings:
Element | Settings | Description |
---|---|---|
|
| Specify the POP3 server IP address or the DNS name. |
| Specify the POP3 server port. | |
| Specify the user name to use when logging into the POP3 server. | |
| Specify the password to use when logging into the POP3 server. | |
| Set to true if you want the POP3 server to use SSL for transferring messages. | |
| Set to true to use the TLS connection prior to authenticating and retrieving bounces. | |
| Specify the proxy settings to request the POP3 server via a proxy server. | |
|
| Specify the POP3 settings collection. |
| Specify an inspector that verifies a message mime as a bounce and determines the type of bounce. | |
| Specify the environment identifier to use to identify the Sitecore instance. | |
|
| Specify the agent for synchronizing POP3 bounces. |
| Specify the name of the method in the agent class that must be executed. | |
| Specify the interval that the agent must be executed as a TimeSpan. | |
| Specify a receivers collection by providing multiple Pop3 accounts for bounces collection. |