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

Error enabling email

When I try to enable email for Wordpress locally, I keep getting an error when I try to send a test email. I followed the instructions on the video and the documentation for gmail so not sure what is wrong here. The error is below: CLIENT -> SERVER: EHLO localhost CLIENT -> SERVER: STARTTLS SMTP Error: Could not connect to SMTP host.CLIENT -> SERVER: QUIT SMTP ERROR: QUIT command failed: MIA��ۡ4��ا< ��o��)�* �9�|Q}����D�/��X�$�t7���A�VMmԁ2pu����az]��y���q�d|̇c롷f&���Wa4C�o��������`s���t�\g�Al����d�a���@��ק:֡�"N*8�⸧��B��ݒ���H� G�'�y���������N&A�F�C�dn3�1*%F�Lhf?�t�V5,�֯c��+9ܼ�t�aqH���/�u{B9����;��Mc!!ߚ~9/�W$T�I\B�A F��׻�cr}խJ�� �z�ވ96U����SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Nedim Becirovic
Nedim Becirovic
9,394 Points

Can you provide us with more details, like you SMTP settings, php.ini file?