Skip to content

Instantly share code, notes, and snippets.

@manifestuk
Created April 30, 2012 10:22
Show Gist options
  • Save manifestuk/2557044 to your computer and use it in GitHub Desktop.
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