I'm trying to get PHPMailer to send an email using my Gmail account, but I'm receiving the following error: SMTP ERROR: Password command failed: 534-5.7.14. How do I fix this?
To fix this issue, you need to:
1) Login to your Gmail account using the web browser.
2) Click on this link to enable applications to access your account: https://accounts.google.com/b/0/DisplayUnlockCaptcha
3) Click on Continue button to complete the step.
4) Now try again to send the email from your PHP script. It should work.