在symfony2.3中,我使用了swiftmailer。swiftmailer使用gmail與自定義域發送電子郵件
我有一個谷歌Apps地址一樣[email protected]和
當使用我的正常的Gmail地址[email protected]:
mailer_transport: smtp
mailer_encryption: ssl
auth_mode: login
mailer_host: smtp.gmail.com
mailer_user: myname
mailer_password: pymass
配置的偉大工程,它發送的郵件我Gmail地址,但使用[email protected]作爲mailer_user使用正確的密碼不起作用。
任何想法?
看看這個文檔: http://swiftmailer.org/docs/sending.html –