Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Enable Email for WordPress on Your Computer

Hi, I am trying to enable e-mail for WordPress via Easy WP SMTP and tried to send test mail but for some reason, it is not getting through. Below is the massage I received:

Debug Info CLIENT -> SERVER: EHLO localhost CLIENT -> SERVER: STARTTLS CLIENT -> SERVER: EHLO localhost CLIENT -> SERVER: AUTH LOGIN CLIENT -> SERVER: cG9zdEBtZWFsYm94Lm5v CLIENT -> SERVER: TUIubm9AMjAxNw== SMTP ERROR: Password command failed: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbtL 534-5.7.14 LSzSwICtDI6HfesWSB9TVSYPpovt98L6_mSqwY14yu3XqQJ-PQJTaP8C8zvFs6qyMGmbDr 534-5.7.14 H0iFGzwKVIyNaUIvn1lv7lRMSslJS7_fP9NgwT8xxRVWzdTWRkSWkp86ZhARBnlof9c5aF 534-5.7.14 p5cbYIE4YIZrOzXAfaz5Kk4u7jTUiAiLpl-zfHdILGbo-oitBS2doRfRTyXcGDb79Qdtid 534-5.7.14 Wk5HSf3MGECXIzhp5g-FWtjrKoIoY> 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 s88sm683701lje.40 - gsmtp SMTP Error: Could not authenticate.CLIENT -> SERVER: QUIT SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

I have entered correct pw but it doesn`t work. Have anyone had a similar challenge?

4 Answers

Konrad Traczyk
Konrad Traczyk
22,287 Points

Hi,

I had such problem when i was using gmail account with 2-factor authentication enabled, aswell as on email from my hosting provider. The quickest solution to me was to create new gmail account with only password authentication and use it to wordpress mailing.

Hopes it helps

Konrad

Hi Konrad, Thank you :)

I will create another account and check it out.

Thanks again!

Dildar

Hi again, I tried with another e-mail and following message is a response from google:

Hi Dildar, Google just blocked someone from signing into your Google Account mealbox.no@gmail.com from an app that may put your account at risk. Less secure app Thursday, November 2, 2017 4:20 PM (GMT) Don't recognize this activity? If you didn't recently receive an error while trying to access a Google service, like Gmail, from a non-Google application, someone may have your password.

SECURE YOUR ACCOUNT

Are you the one who tried signing in? Google will continue to block sign-in attempts from the app you're using because it has known security problems or is out of date. You can continue to use this app by allowing access to less secure apps, but this may leave your account vulnerable.

The Google Accounts team

And I have received same message from google every time I tried with different e-mail. Dildar

Thanks again Konrad :) I tried but it looks like I have to ask the administrator to activate some features for me. Waiting for his response. Thanks again.

Cheers Dildar

Issue is now solved :) Thanks for your help Konrad! Appreciate it, man :)

Dildar