Send Email using GMail SMTP server in PHP

1 · Subin Siby · Sept. 13, 2013, 4:42 a.m.
This tutorial was suggested by SWDS. To send an e-mail using GMail’s SMTP server, you need extra help. Download the latest version of Swift Mailer Package from here. This mailing class is simple, that’s why I recommend you to use Swift Mailer. If you have enabled application specific password feature on Google Accounts, you may have to generate a new application password and use that password for SMTP authentication. Otherwise the example won’t be able to login to your google account....