I’ve been playing with setting up ownCloud on my Raspberry Pi, and I was struggling with getting it to send emails using my Google Apps email accounts using their SMTP, and this is exactly what I needed. Figured I would share in case some random Googler needs the help.
"mail_smtpmode" => 'smtp',
"mail_smtphost" => 'ssl://smtp.gmail.com:465',
"mail_smtpauth" => true,
"mail_smtpname" => 'email@example.com',
"mail_smtppassword" => 'your_account_password',