OK. I am getting errors sending test email trying different combinations of email settings:
Port to connect to: and
TLS/SSL.
When I select port 587 and SSL I get the following error message:
Code:
Your test email could not be sent: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:749)
When I select port 25 and SSL I get the following error message:
Code:
Your test email could not be sent: [Errno 65] No route to host
When I select port 465 and SSL I get the following error message:
Code:
Your test email could not be sent: (534, b'5.7.14 Please log in via your web browser and\n5.7.14 then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 n8sm3733953itg.1 - gsmtp')
When I select port 587 and TLS I get the same error message as when selecting port 465 and SSL.
When I select port 25 and TLS I get the same error message as when selecting 25 and SSL
When I select port 465 and TLS, I get the following error message:
Code:
Your test email could not be sent: Connection unexpectedly closed: timed out
For the above error that references
https://support.google.com, I have read that I can setup
2-step-verification in my Google account but i don't wish to do that. The other option is to enable the Google Account setting:
Allow less secure apps, but that leaves your account vulnerable and I don't wish to do that either. For testing purposes I have temporarily enabled the Google Account setting: Allow less secure apps, and sent a test message. That was successful.
So I guess I'm going to have to think about how I want to change my gmail account settings to support FreeNAS email notifications. I could create yet another account to manage for this purpose but that is also not desirable.