I got this error when i was configuring the outgoing email on my local machine.
Connection test failed! Here is what we got instead:-2 Name or service not known
These are my settings: Name: localhost SMTP Server: smtp.gmail.com Priority: 10 SMTP Port: 465 Connection Security: TLS(STARTTLS) Please note that i tried both TLS(STARTTLS) and SSL/TLS but none of them works!
Please help.