Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Mail Smtp Cannot Connect Rate Topic   - - - - -

 
  • alexleefk
  • Newbie
  • Trial users
  • Join Date: 11-Mar 16
  • 14 posts

Posted 25 March 2016 - 11:07 AM #1

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



 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3808 posts

Posted 25 March 2016 - 01:22 PM #2

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.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • alexleefk
  • Newbie
  • Trial users
  • Join Date: 11-Mar 16
  • 14 posts

Posted 25 March 2016 - 03:26 PM #3

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



 
  • merchantman
  • Senior Member
  • Members
  • Join Date: 23-Oct 13
  • 352 posts

Posted 11 April 2016 - 03:56 PM #4

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?



 
  • Vivek Gupta
  • Senior Member
  • Members
  • Join Date: 09-Jul 15
  • 247 posts

Posted 11 April 2016 - 06:34 PM #5

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.


Vivek Gupta 
 


 
  • FDGWEB
  • Junior Member
  • Authorized Reseller
  • Join Date: 20-Aug 10
  • 144 posts

Posted 12 April 2016 - 04:13 PM #6

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.


FDG Web, Inc - Seattle Web Design : Custom CS-Cart Programming & Design | Toll-Free: 877.239.3083

Download Proposal Templates & Web Design Contract Samples

 
  • alexleefk
  • Newbie
  • Trial users
  • Join Date: 11-Mar 16
  • 14 posts

Posted 13 April 2016 - 04:19 AM #7

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



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11302 posts

Posted 14 April 2016 - 01:46 AM #8

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.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • alexleefk
  • Newbie
  • Trial users
  • Join Date: 11-Mar 16
  • 14 posts

Posted 14 April 2016 - 07:31 AM #9

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.



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11302 posts

Posted 14 April 2016 - 06:11 PM #10

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

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.