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 Installing WordPress Locally Installing WordPress Locally Enable Email for WordPress on Your Computer

MD Nayeem
MD Nayeem
523 Points

Fail to integrate or install Easy WP SMTP plugin.

Fail to integrate or install Easy WP SMTP plugin. Install the plugin and activate it, I used gmail account so I have used the following info: SMTP Host: smtp.gmail.com Type of Encryption: TLS SMTP Port: 587 After the setup, When I try to send a test email I am getting the following message: SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Would someone share some thought over this?

Same problem here...

3 Answers

having a problem on Wordpress keep getting error, SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting is there anyone which can help me out with this problem

Try using STARTTLS encryption. I started doing that and then got a new error: SMTP ERROR: MAIL FROM command failed: 530-5.5.1 Authentication Required. SO I think that's progress Google just isn't allowing it.

Sergio Daza
Sergio Daza
1,456 Points

hey , I am in the same scenario, did you find the answer?