Jump to content

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

Smtp Error Rate Topic   - - - - -

 
  • mohsin1631
  • Advanced Member
  • Members
  • Join Date: 18-May 22
  • 77 posts

Posted 24 July 2022 - 03:00 PM #1

I am testing emails with mailtrap it was working fine until my mailtrap limit exceeds then i created a new account and tried to add configuration to email settings of cs-cart. but it gives me an error no matter how many different new configuration i tried.

SMTP ErrorFailed to connect to server: Connection timed out (110)

screen shot attached of configuration

Attached Files



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

Posted 26 July 2022 - 03:17 PM #2

I am testing emails with mailtrap it was working fine until my mailtrap limit exceeds then i created a new account and tried to add configuration to email settings of cs-cart. but it gives me an error no matter how many different new configuration i tried.

SMTP ErrorFailed to connect to server: Connection timed out (110)

screen shot attached of configuration

 

It seems like the smtp.mailtrap.io rejects any incoming connections, since I was unable to connect to it too:

$ nmap smtp.mailtrap.io -p 25,465

Starting Nmap 7.60 ( https://nmap.org ) at 2022-07-26 19:15 +04
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.08 seconds

$ nmap smtp.mailtrap.io

Starting Nmap 7.60 ( https://nmap.org ) at 2022-07-26 19:16 +04
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.10 seconds

Please contact this mail server provider on this matter.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • thecigarhut
  • Advanced Member
  • Members
  • Join Date: 07-Dec 21
  • 98 posts

Posted 26 July 2022 - 06:32 PM #3

I recently had a similar issue with testing on mailtrap.io

if on cPanel using ConfigServer Security & Firewall, you will need to allow your domains user ID to bypass the SMTP block in the config file

 

Always allow the following comma separated users and groups to bypass
SMTP_BLOCK

Note: root (UID:0) is always allowed
SMTP_ALLOWUSER = cpanel,ADD_YOUR_DOMAIN_USER_HERE
SMTP_ALLOWGROUP = mail

osCommerce user since 2005 now upgrading to CS-Cart Ultimate.