Change the hostname as likeI am giving you few hints. Think those will solve your issue.
hostname=localhost
-
- Change the hostname, like
hostname=localhost -
- Go the below link and click
Turn onhttps://www.google.com/settings/security/lesssecureapps
- Go the below link and click
-
- Check the file TLS_CA_FILE exits or not.
Then try to send mail.