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

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
435 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
435 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