Personally what configuration I use to run the email component in windows 10, the following error appears:
Error:
2016/12/20 12:52:43 - Mail - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : Problem while sending message: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
2016/12/20 12:52:43 - Mail - nested exception is:
2016/12/20 12:52:43 - Mail - java.net.ConnectException: Connection timed out (Connection timed out)
Error:
2016/12/20 12:52:43 - Mail - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : Problem while sending message: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
2016/12/20 12:52:43 - Mail - nested exception is:
2016/12/20 12:52:43 - Mail - java.net.ConnectException: Connection timed out (Connection timed out)