Send mail through smtp.gmail.com in symfony 2 using swiftmailer
问题 I am having a trouble of sending mail from xampp localhost using gmail. And after a long time I finally successful on it. And I am sharing it with all you. If I am wrong need proper solution for it. in config.yml of your symfony 2 Write those swiftmailer: disable_delivery: false transport: %mailer_transport% host: %mailer_host% username: %mailer_user% password: %mailer_password% port: %mailer_port% encryption: %mailer_encryption% In your parameters.yml mailer_transport: smtp mailer_host: smtp