30 thoughts on “PHP – How To Send Email Using PHP

  1. Getting the below error, if someone can assist.

    2018-05-27 15:06:31 CLIENT -> SERVER: EHLO localhost 2018-05-27 15:06:31 CLIENT -> SERVER: AUTH LOGIN 2018-05-27 15:06:31 CLIENT -> SERVER: cHJpbmNlYWdnYXJ3YWw0NjZAZ21haWwuY29t 2018-05-27 15:06:32 CLIENT -> SERVER: cGFwYWppMjg2Ng== 2018-05-27 15:06:32 SMTP ERROR: Password command failed: 534-5.7.14 Please log in via your web browser and 534-5.7.14 then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/answer/78754 68-v6sm49199699pfk.46 – gsmtp 2018-05-27 15:06:32 SMTP Error: Could not authenticate. 2018-05-27 15:06:32 CLIENT -> SERVER: QUIT 2018-05-27 15:06:32 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Mail Not Sent

  2. Sir , i have downloaded your rar file. and have done changes in send_email.php file.. but email is not send and also all the php code is printing web page.. So what should I do?

  3. Dear sir i get error like please help me solving it
    018-03-17 04:54:23 CLIENT -> SERVER: EHLO localhost 2018-03-17 04:54:23 CLIENT -> SERVER: AUTH LOGIN 2018-03-17 04:54:23 CLIENT -> SERVER: eW91cm1haWxAZ21haWwuY29t 2018-03-17 04:54:24 CLIENT -> SERVER: eW91cnBhc3N3b3Jk 2018-03-17 04:54:24 SMTP ERROR: Password command failed: 534-5.7.9 Please log in with your web browser and then try again. Learn more at 534 5.7.9 https://support.google.com/mail/?p=WebLoginRequired y23-v6sm3830110itc.6 – gsmtp 2018-03-17 04:54:24 SMTP Error: Could not authenticate. 2018-03-17 04:54:24 CLIENT -> SERVER: QUIT 2018-03-17 04:54:25 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Mail Not Sent

Leave a Reply

Your email address will not be published. Required fields are marked *