How to use GMail SMTP as JQuery Form mailer?

  1. Click GMail on SMTP section
  2. The GMail SMTP settings will be filled automatically
          Host: smtp.gmail.com
          Port: 465
          Security: SSL
        
  3. Enter in your CORRECT GMail email address and password
  4. Test your form

Screenshot below shows you how JQuery Form sends emails using GMail SMTP email server

Checklist for using GMail SMTP server

  1. Make sure you enter correct GMail emaill address and password
  2. Turn on SMTP debug message if you don't receive emails using GMail SMTP email server. You might enter wrong credential, or Gmail SMTP server is blocked by your hosting company.
  3. Make sure you turn on "Allowing less secure apps to access your account": Go to the "Less secure apps" section in your GMail account.


GMail SMTP log sample from JQuery Form Admin panel

2015-12-28 03:01:53 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP tv6sm23144499pab.4 - gsmtp
2015-12-28 03:01:53 CLIENT -> SERVER: EHLO localhost
2015-12-28 03:01:53 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [174.6.129.125]
                                      250-SIZE 35882577
                                      250-8BITMIME
                                      250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
                                      250-ENHANCEDSTATUSCODES
                                      250-PIPELINING
                                      250-CHUNKING
                                      250 SMTPUTF8
2015-12-28 03:01:53 CLIENT -> SERVER: AUTH LOGIN
2015-12-28 03:01:53 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2015-12-28 03:01:53 CLIENT -> SERVER: ???????????? (base64 encoded SMTP username)
2015-12-28 03:01:53 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2015-12-28 03:01:53 CLIENT -> SERVER: ???????? (base64 encoded SMTP password)
2015-12-28 03:01:53 SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at
                                      535 5.7.8  https://support.google.com/mail/answer/14257 tv6sm23144499pab.4 - gsmtp
2015-12-28 03:01:53 SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at
                                      535 5.7.8  https://support.google.com/mail/answer/14257 tv6sm23144499pab.4 - gsmtp
2015-12-28 03:01:53 SMTP Error: Could not authenticate.
2015-12-28 03:01:53 CLIENT -> SERVER: QUIT
2015-12-28 03:01:53 SERVER -> CLIENT: 221 2.0.0 closing connection tv6sm23144499pab.4 - gsmtp
2015-12-28 03:01:53 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting



----------------------------------------------------------------
2015-12-28 03:01:53
Email Sent: Failed (SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
Date: Mon, 28 Dec 2015 03:01:53 +0000
To: xxxx@gmail.com
From: Tester 
Reply-To: Tester 
Subject: Test GMail SMTP Server
Message-ID: