How to use Google SMTP Server through PHP Mailer

Getting Google SMTP Server Settings:

  1. Login to your Gmail account
  2. You need to allow access for less secure apps can be easily turned on here.see image1 , image2
  3. Go to Access Settings section, see image
  4. Go to to Forwarding and POP/IMAP tab and enable IMAP, see image

Using PHPMailer:

  1. Download PHPMailer script
  2. Upload PHPMailer script to your hosting account.
  3. Sample configuration file named gmail.php to use with Google SMTP servers.
  4. This script to work with Google SMTP server, you will have to edit it and change settings like username, password and email recipient address.
More
Addresses
Contact Us
Intouch
newsletter
© 2024 Imarketingonly All rights reserved.

Imarketingonly

The Great Oast, Steep Marsh Petersfield Hampshire GU32 2BN
125/5A Srisoonthorn Road. Cherngtalay District. Thalang Phuket 83110
+66 (0) 76 324184 +66(0) 898 740 040 +44 (0) 1730 895648 +44 (0) 208 1234 164 +44 (0) 7798 554540 Start Price 120 GBP