Just tried the Gmail email sending, after several trials, what worked:
- Enable less secure app access in your Google Account (https://myaccount.google.com/lesssecureapps)
- Use 465 as SMTP port, with connection security set to SSL, connection timeout set to 3,000ms.
- Make sure you are sending to a valid email.