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

SHUPING CHAN
SHUPING CHAN
538 Points

can't receive my test email after setting the STMP

should I type this TLS/587 or just follow the teacher

4 Answers

Ash Scott
Ash Scott
423 Points

Can you post the code you have please? Remove the password from the SMTP settings if it's there. Double check everything is correct. If you're using Gmail for your SMTP make sure you're using the correct settings :)

SHUPING CHAN
SHUPING CHAN
538 Points

here is what i type for SMTP Host: smtp.gmail.com Type of Encryption: TLS SMTP Port: 587

Ash Scott
Ash Scott
423 Points

So you need TLS for those settings. Try changing your settings to the ones from the first column at this link

SHUPING CHAN
SHUPING CHAN
538 Points

thanks i solved this problem because it seems that google has some security systme on my email. I change the security setting then i can receive the test eamil .:D

Michael Giustiniani
Michael Giustiniani
20,411 Points

Can you tell me where this security setting is? I tried SSL/465 and TLS/587 and neither worked for my gmail account.

SHUPING CHAN
SHUPING CHAN
538 Points

i tried this one SMPT:smtp-relay.gmail.com SSL/465 OR TLS/587 neither of them can work :(

Hi I tried lots of way but my one not working . plz help . SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

I used SMTP smtp.gmail.com or smtp-relay.gmail.com TLS 587 also tried SSL 465 and none