Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
1.0k views
in Q2A Core by
edited by

An error occurred trying to send the email.

I tested The Port 465 and 587, tls and ssl and not working

already tried it in every way, with different emails and websites and it does not work.

1 Answer

+1 vote
by

Port 465 goes with SSL and 587 goes with TSL, according to Google's documentation.

Then you'll need to tell Google that you wan't a third party app to control GMail. You can enable this from: https://myaccount.google.com/lesssecureapps

by
I already did all this, it does not work. nothing works.
by
+1
Maybe your server is not being able to connect to GMail's servers
...