在symfony2.3中,我正在使用swiftmailer。
我有一个Google应用程序的地址,如myname@abc.com和我的普通gmail地址myname@gmail.com。
当使用:
配置很好,可以从我的Gmail地址发送电子邮件,但是使用myname@abc.com作为mailer_user和正确的密码不起作用。有任何想法吗?
我有一个Google应用程序的地址,如myname@abc.com和我的普通gmail地址myname@gmail.com。
当使用:
mailer_transport: smtp
mailer_encryption: ssl
auth_mode: login
mailer_host: smtp.gmail.com
mailer_user: myname
mailer_password: pymass
配置很好,可以从我的Gmail地址发送电子邮件,但是使用myname@abc.com作为mailer_user和正确的密码不起作用。有任何想法吗?