swiftmailer send email using gmail with custom domain
问题 In symfony2.3 I am using swiftmailer. I have a Google Apps address like myname@abc.com and my normal gmail address myname@gmail.com When using: mailer_transport: smtp mailer_encryption: ssl auth_mode: login mailer_host: smtp.gmail.com mailer_user: myname mailer_password: pymass the configuration works great and it sends emails from my gmail address but using myname@abc.com as mailer_user with correct password doesn't work. Any ideas? 回答1: The configuration for sending from (what I assume is)