I'm using nopCommerce v3.4 and tried adding a new Email Account to no avail.
I've tried smtp.gmail.com at port 465 using SSL with and without Use default credentials. I got an The operation has timed out. error after waiting for about a minute sending a test email. There is nothing in the log.
GMail is now using port 587 for TLS, not SSL anymore. In order to use SSL, port 465 has to be used. Since nopCommerce doesn't seemingly support TLS, port 465 is used in the setting.
In case you're wondering, Yes, I have tried port 587 and resulted in an almost immediate response of the error The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at. So I guess, GMail is expecting TLS and not SSL at port 587. And yes, my password is a strong one.
This happens on both my production server and development machine. My production server is half way across the planet so it wouldn't be because of ISPs blocking ports. I have tried sending email out using Microsoft Outlook with the exact same SMTP settings and everything went well.
I have disabled my firewalls for both my production server and development machine but still no go. It seems like I'm not the only one
https://www.nopcommerce.com/boards/t/1529/mail-settings-error.aspx?p=4
I couldn't help but to think that it's a bug unless someone could enlighten me on this. Thanks.