Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?