Skip to content

Instantly share code, notes, and snippets.

@neilbradley
Last active August 4, 2017 10:45
Show Gist options
  • Save neilbradley/724d62d143ee6547475c7c0fd3154140 to your computer and use it in GitHub Desktop.
Save neilbradley/724d62d143ee6547475c7c0fd3154140 to your computer and use it in GitHub Desktop.
Sending Transactional Email with ExpressionEngine using Dotmailer
$config['email_crlf'] = "\r\n";
$config['email_newline'] = "\r\n";
$config['mail_protocol'] = 'smtp';
//The server may need to change depending on the region assigned in your Dotmailer account
//https://support.dotmailer.com/hc/en-gb/articles/212214408-Using-transactional-email#viasmtp
$config['smtp_server'] = 'r1-smtp.dotmailer.com';
$config['smtp_username'] = 'TRANSACTIONAL_EMAIL_USER';
$config['smtp_password'] = 'TRANSACTIONAL_EMAIL_PASSWORD';
$config['smtp_port'] = '25';
$config['email_smtp_port'] = '25';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment