Has anyone found an SMTP email provider that works with SMTPauth for Zen Cart 2.X?
~Melanie
Printable View
Has anyone found an SMTP email provider that works with SMTPauth for Zen Cart 2.X?
~Melanie
SMTP2Go works.
I am running version 1.58a on my server Linux
I have setup an account SMTP2Go and it works with Outlook ok no issues.
I don't know if I have setup in the email correctly for the SMTP Email Account Mailbox and placed the password in SMTP Email Account Password and not sure what port I should be putting in SMTP Email Mail Server Port I tried this one 2525 but did not work.
Any suggestions would be appreciated on what I should be doing to correct the problem of sending emails out by SMTP2Go
I'm having an issue with SMTP2GO & Zen Cart 2.1.0, PHP 8.3.17
log
Error in adminQuote:
[25-Feb-2025 21:35:04 UTC] PHP Notice: Email Error: Could not instantiate mail function.
in /home/lxxxxx/public_html/includes/functions/functions_email.php on line 511
I checked with server techQuote:
ERROR: Failed sending email to: "Melanie Prough" with subject: "test" SMTP connect() failed. https://github.com/PHPMailer/PHPMail...roubleshooting
Notice: FAILED to send Email to all recipients: XXXXX###################### (0)
I tried ALL of the provided TLS ports as well as the SSL ports to no avail.Quote:
[root@server ~]# telnet mail.smtp2go.com 587
Trying 172.234.246.156...
Connected to mail.smtp2go.com.
Escape character is '^]'.
220 mail.smtp2go.com ESMTP Exim 4.97.1-S2G Tue, 25 Feb 2025 13:20:49 +0000
I also see that port 587 is not blocked in CSF and also there is no block for SMTP.
~Melanie
I use smtp2go. In my outlook under server i use mail.smtp2go.com port 465 for outgoing email. You should be able to use the same information u used in outlook in the backend of zencart.
server mail.smtp2go.com
port 465
check the box log on using username and password
There is a setting in ZC that is very important, but nobody has mentioned it yet...
Configuration::Email::E-Mail Transport Method
By default it is set to PHP, but to connect to an SMTP server with authentication, it should be set to smtpauth.
I'll assume you're working on a client's site - where is it hosted? Any chance it's A2?
No liquid web
Did you try contacting them just to be 100% sure they're not blocking it? Reason I'm asking is because A2 doesn't allow external SMTP servers with their shared hosting accounts... VPS sure, but shared nope.
Yes as I posted already the results from tech support and I have dedicated servers not shared hosting so that doesn't appear to be the issue
self managed dedicated? whm/cpanel? Security Center / SMTP Restrictions
This feature prevents users from bypassing the mail server to send mail, a common practice used by spammers.
It will allow only the MTA, mailman, and root to connect to remote SMTP servers.
I am able to send mail from the account using PHPMailer, just not Zen Cart.
When you say "Using PHPMailer" do you mean "using PHPMailer using SMTPAuth with SMTPGo as the specified Host?"
Because that's what Zen Cart is doing.
Yes sir
Have you tried this trick? Sometimes this reveals the issue:
https://docs.zen-cart.com/user/email...hake-debugging
SMTP Email Account Mailbox is the domain.com ONLY, [email protected] does not work. The usernames for the accounts are literally only domain.com in their SMTP2GO accounts.
Very uncommon.
Good you figured it out.
If I may ask, is there any reason why you don't use your own mailserver?
It's too hard to keep up with the issues, our servers are focused on presenting their websites fast & securely. The email support, spam requirements & such are so time & resource consuming & not in our wheelhouse. I read a lot, & this would seem to be the wave of the future because it's become such a difficult thing to manage.
~Melanie
Understood.
E-Mail is a real task to offer a good service.
It's not an uncommon situation, which is why there's a help page dedicated to this topic.
https://docs.zen-cart.com/user/email..._smtp_servers/
Also, you can use a separate SMTP server *just for newsletters* if you so desire; there are separate configs for the bulk emails Zen Cart can send.