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 trialMichael Hanna
17,649 PointsPlugin not working. Sign-in attempt prevented by Google (app doesn't meet modern security standards).
I installed this plugin and configured it as instructed in the video, but when I tried to send a test email, I instead received an email from Google that a sign-in attempt had been prevented. The email said:
"Someone just tried to sign in to your Google Account xxx@gmail.com from an app that doesn't meet modern security standards."
It then went on to list the details, told me to use a secure app like gmail, and let me review the devices that have accessed my account. Nothing out of the ordinary there, which makes sense, because this request would have come from my machine.
I browsed the comments on the Easy WordPress SMTP support page, didn't see any similar issues.
From what Zac says in this video, it doesn't sound like I MUST have email enabled to work with a local WordPress install, so I'll just move on. I'm not going to ask on the plugin support page. But I thought I'd post here since it's related to the main task in this video.
5 Answers
Orlando Martinez
2,325 PointsHi Michael,
I had the same issue. Gmail has an extra security step or feature which prevents third party apps such as Easy WP SMTP from connecting to your account. To allow Easy WP SMTP to connect you must:
1) login onto your GMAIL or GOOGLE account 2) Go to your account- click on your circle profile icon which can be your picture or letter 3) Click on "My Account" 4) Click on "Sign-in & security >" which is the first column and has a "pad lock icon" 5) Scroll down to the bottom of the page to last section "Connected apps & sites" 6) Third item down will have a switch to "Allow less secure apps"-switch to "ON" ^****This is ultimately up to your discretion********^ 7) Re-send yourself a test email
Hope this helps.
kathryndownie
1,800 PointsIn case other people run in to the same problem, the option to "Allow less secure apps" isn't even available if you use 2-factor authorization. Once I turned off 2-factor auth, everything worked. Now I just have to decide whether I'm willing to make my account less secure for the sake of this plugin...
Patrick McKinney
13,151 PointsI ran into the same issue, and am just wondering if it is really a wise move to allow less secure apps access. Perhaps the best solution is to create a dummy e-mail account used only for the purposes of local wordpress dev?
Roman Stalder
923 PointsThanks! Worked for me!
Michael Lorenzana
12,029 PointsI have setup my gmail account to allow less secure apps and I'm still getting an error when I try to send a test email. It tells me that "Extension missing: openssl". I would really appreciate it if someone can help me with that.
Michael Lorenzana
12,029 PointsOk I figured it out on my own. The desktop serverpress that I was using needed to be updated since it expired 3 days ago. After update, everything is working smoothly :)
Michael Hanna
17,649 PointsMichael Hanna
17,649 PointsThank you, Orlando. I probably won't allow less secure apps unless I really need my local site to be able to send email, but now I know how to do it should that need arise!