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 How to Install WordPress on Your Computer How to Install WordPress on Your Computer How to Enable Email for WordPress on Your Computer

guarlonmirka
guarlonmirka
10,192 Points

SMTP connect() failed.

I keep getting the error message following exactly what it says

Gmail SMTP Host: smtp.gmail.com Type of Encryption: TLS SMTP Port: 587

Yahoo SMTP Host: smtp.mail.yahoo.com Type of Encryption: SSL SMTP Port: 465

2 Answers

Austin Whipple
Austin Whipple
29,725 Points

Unfortunately, this could be a number of problems. For instance, it could be an issue with ports being blocked on your local machine or with settings in the SMTP provide.

Check out this WordPress support thread. There are a number of problems and solutions described. If it persists, additional information about what you've tried and the result could be helpful for troubleshooting here.

http://www.wpsitecare.com/gmail-smtp-settings/

I was having issues with the gmail and this site is perfect to fix that. Google has increased remote sign in security since this video.

guarlonmirka
guarlonmirka
10,192 Points

Thanks a million the link you provided helped me to resolve the issue, the problem was with my gmail account, I had to activate the link so that gmail will allow application with less security to connect with.