Email SMTP Settings Not Working - Send Test Email TimeOut

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
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.
9 years ago
I'm using NopCommerce 3.4 and my host is on Arvixe.com
I tried several combination of settings and here is working solution finally,

email: [email protected]
name: [email protected]
host: mail.mydomain.com
port: 25
username: [email protected]
password: mypassword
ssl: unchecked
use default certification: unchecked

btw, I spent couple of hours but never get a gmail SMTP work.
9 years ago
Have same problem with Gmail.


Problem resolved.
https://www.nopcommerce.com/boards/t/32410/send-test-mail-functionality-not-working-nopcommerce-340.aspx
9 years ago
I got gmail works with settings below,

Email address  [email protected]
Email display name:  DisplayName
Host:    smtp.gmail.com
Port:    587
User:    [email protected]
Password:    <password>
SSL:    <checked>
Use default credentials:<NOT checked>

And !!!! I changed my password of this gmail account from a weak one to strong one!!!
then everything just works.
8 years ago
Thank you very much
7 years ago
Worked fine for me with following detail:

email: [email protected]
name: My Store
host: mail.gmail.com
port: 587
username: [email protected]
password: my_password
ssl: checked
use default certification: unchecked
I figure out that I was not typing same email & username
7 years ago
can someone help ? email is not working giving error like below:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required.
this error is showing when i send any test email, i as a admin getting order receipt email but customer is not receiving any email...
help me as i have no technical knowledge about this
7 years ago
vijaydeals wrote:
can someone help ? email is not working giving error like below:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required.
this error is showing when i send any test email, i as a admin getting order receipt email but customer is not receiving any email...
help me as i have no technical knowledge about this


You need to configure you email account. I faced this issue at gmail and solve this by http://stackoverflow.com/questions/20906077/gmail-error-the-smtp-server-requires-a-secure-connection-or-the-client-was-not
7 years ago
Here is a link which demonstrates how to configure SMTP Settings
7 years ago
You solved the problem, is how to solve
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.