Mail Smtp Cannot Connect

Hi all,

Got stuck when configuring the smtp setting, I was planning to use my own smtp server but got smtp data not accepted error. Tried to put up the port 465 at the smtp server address field but still no luck.

Then I though it was my mail server problem so I turned to give a try with gmail. However, I got smtp not connect error. Can someone give a hand here?

Is there any log which shows exactly what is the problem? I tried Administration->log but those log are not relevant to my action here. And I don't seem to find a /var/log folder under my installation directory. Didn't expect to get stuck at this feature...

My multi vendor version is 4.3.6

Thanks everyone and have a good easter holiday.

Cheers,

Alex

Hi all,

Got stuck when configuring the smtp setting, I was planning to use my own smtp server but got smtp data not accepted error. Tried to put up the port 465 at the smtp server address field but still no luck.

Then I though it was my mail server problem so I turned to give a try with gmail. However, I got smtp not connect error. Can someone give a hand here?

Is there any log which shows exactly what is the problem? I tried Administration->log but those log are not relevant to my action here. And I don't seem to find a /var/log folder under my installation directory. Didn't expect to get stuck at this feature...

My multi vendor version is 4.3.6

Thanks everyone and have a good easter holiday.

Cheers,

Alex

We recommend you to contact your server administrator or hosting administrator regarding this issue.

I have tried the settings with gmail smtp server but doesn't look good too. So I am pretty sure it's configuration problem (unless you are saying gmail will have a problem and i am using the same smtp setting with other email client).

May I know, how can I set the port if I need to use SSL for authentication? And where can I find the log to further troubleshoot?

Sorry to say but this answer is totally not helpful with the questions that I was asking, and I am pretty disappointed if this is the official reply from cs cart team.

Thanks

Alex

I have tried the settings with gmail smtp server but doesn't look good too. So I am pretty sure it's configuration problem (unless you are saying gmail will have a problem and i am using the same smtp setting with other email client).

May I know, how can I set the port if I need to use SSL for authentication? And where can I find the log to further troubleshoot?

Sorry to say but this answer is totally not helpful with the questions that I was asking, and I am pretty disappointed if this is the official reply from cs cart team.

Thanks

Alex

Hi Alex,

I had your problem with GMail SMTP server and so I tried Google SMTP relay service (which is what google recommends). As far as I can tell it is set up correctly and in fact I set it up with Google Apps support, but it will still not connect so I must use php mail function.. Have you tried SMTP relay service and if so what has your experience been?

SMTP host: tls://smtp.gmail.com

SMTP username: YOUR GMAIL ID

SMTP password: YOUR GMAIL ID PASSWORD

Use Encrypted Connection: TLS

Use SMTP authentication: YES (check this),

& save this . it will work.

Also need to make sure:

1) If this is a server you control (web server) that your firewall has all of these ports open.

I cannot tell you how many calls we get with an issue surrounding mail that turn out to be firewall or relay related.

/var/logs reveals a lot of information if you have access to it.

Re firewall issue, we are able to manage the smtp server (we are not using gmail, gmail was just for testing), and I managed to use the same connection setting with my phone to connect to imap and smtp. Is there anything different with the cs cart mail client with other mail client?

I have tried to look for the folder /var/logs, but I couldn't find it. Do I need to enable some settings? Or where can I check my log configurations?

Thanks all for your help

As @fdgweb stated, many hosting installations block outbound ports based on user_id. I.e. if your cpanel account is mememymy, port 465 might be only open to root and they need to enable the firewall to allow mememymy.
The folder name is /var/log (not logs) and the file is maillog. i.e. /var/log/maillog. But not sure it will show you anything if you’re using an offboard smtp server and the port is blocked. But it will show you issues related to the smtp (usually exim) service on your server.

Thanks tbirnseth, so you mean /var/log in the system directory not in the $cs-cart_installation_folder/var/log ?

i got confused for this few weeks :(

Anyway, let me try looking into it.

Thanks.

Yes, lesding slash would imply a full path from root of the server. No leading slash would imply relative to cs-cart document root.