Skip to content

Instantly share code, notes, and snippets.

@gillissm
Last active April 9, 2017 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gillissm/61eb19977b1e30a0c961 to your computer and use it in GitHub Desktop.
Save gillissm/61eb19977b1e30a0c961 to your computer and use it in GitHub Desktop.
Sitecore Email Experience Manager Configuration Patch File for Local MTA configuration
<!--NOTE: Before use be sure to rename to '.config' Using the XML extension to provide better visual formatting.-->
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<settings>
<!-- Set it to "true" if you want use the SMTP settings below.
You should purchase the right of using the "UseLocalMTA" setting first. -->
<setting name="UseLocalMTA">
<patch:attribute name="value">true</patch:attribute>
</setting>
<!-- The amount of time to wait between sending messages (ms) -->
<setting name="Sleep" >
<patch:attribute name="value">500</patch:attribute>
</setting>
<!-- SMTP server address (IP). -->
<setting name="SMTP.Server">
<patch:attribute name="value">email-smtp.us-west-2.amazonaws.com</patch:attribute>
</setting>
<!-- Port number of the SMTP server. -->
<setting name="SMTP.Port" >
<patch:attribute name="value">25</patch:attribute>
</setting>
<!-- Domain for logging into SMTP server. -->
<setting name="SMTP.LoginDomain" >
<patch:attribute name="value"></patch:attribute>
</setting>
<!-- User name for logging into SMTP server. -->
<setting name="SMTP.UserName" >
<patch:attribute name="value"></patch:attribute>
</setting>
<!-- Password for access to SMTP server. -->
<setting name="SMTP.Password" >
<patch:attribute name="value"></patch:attribute>
</setting>
<!-- SMTP Authentication method
Try to use one of the following values: "NONE", "LOGIN", "PLAIN", "CRAM-MD5", "NTLM".-->
<setting name="SMTP.AuthMethod" >
<patch:attribute name="value">LOGIN</patch:attribute>
</setting>
<!-- Start TLS option
When set to true, causes the mailman to issue a STARTTLS command to switch
over to a secure SSL/TLS connection prior to authenticating and sending email. -->
<setting name="SMTP.StartTLS" >
<patch:attribute name="value">true</patch:attribute>
</setting>
<!-- The maximum number of concurrent SMTP connections allowed to open. -->
<setting name="SMTP.MaxConnections" >
<patch:attribute name="value">100</patch:attribute>
</setting>
<!-- The period of time (in seconds) the module keeps an SMTP connection open (since the last usage). -->
<setting name="SMTP.ConnectionExpiration" >
<patch:attribute name="value">180</patch:attribute>
</setting>
</settings>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment