After reviewing all FAQS, FORUMS, and web resources, I found
the Function Module "functions_email.php" was the cause of my
ZenCart Email errors. In functions_email.php at line 195 it is assumed that if any of the conditions are true that the Protocol = 'ssl". This is the line:
if (EMAIL_SMTPAUTH_MAIL_SERVER_PORT == '465' || EMAIL_SMTPAUTH_MAIL_SERVER_PORT == '587' || EMAIL_SMTPAUTH_MAIL_SERVER == 'smtp.gmail.com') $mail->Protocol = 'ssl';
This assumption is not fully correct, the email server that I use is
VIA Omnis.com for which uses the submission port 587 but no SSL.
After reviewing all the checks in FAQ Article Number 111, this lead me to a PHP problem processing messages from Zencart. I had to dismiss this idea, currently I have a fully functional Webmail Server Running with no problems "Horde Groupware Webmail Edition 1.2.6".
So I had to search through the email code to find the fault, which
now gives me a temporary fix and email works, all I did was delete "ssl" from the end of line 195 above which changed the end
of the line to "Protocol = '';".
A suggested solution to this problem would be to add another setting to Configuration Email Setting Such as:
SMTPAUTH uses SSL True or False
And Modifying functions_email.php line 195 to include this conditional test before assuming SSL.
![]()



