Skip to content

Instantly share code, notes, and snippets.

@manifestuk
Created April 30, 2012 10:22
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save manifestuk/2557044 to your computer and use it in GitHub Desktop.
ExpressionEngine Config Settings for GMail SMTP (Hopefully)
$env_conf['mail_protocol'] = 'smtp';
$env_conf['smtp_server'] = 'tls://smtp.gmail.com:XXX'; // Use :XXX to set the port number.
$env_conf['smtp_username'] = 'xxx@xxx.xxx';
$env_conf['smtp_password'] = 'xxx';
$env_conf['email_newline'] = "\r\n";
$env_conf['email_crlf'] = "\r\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment