If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading from 1.3.x to 1.3.9 / Problem with SMTP after upgrade

Problem with SMTP after upgrade

Locked

Started by jla on 6 May 2010, 3:18 PM · Views: 2,083

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
6 May 2010, 3:18 PM
#1
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Post #1 by jla

We performed the upgrade from 1.3.7 to 1.3.9b yesterday and for the most part things seem to be working well but we have run into a few problems.

  1. When e-mailing from the backend Customer order screen - it seems e-mails are no longer working. Everything was fine with 1.3.7 and checked the e-mail settings under configuration and nothing seems to have changed. We are running on a Windows Box with PHP4 and MYSQL5 The error we are getting is

ERROR: Failed sending email to: "TEST USER" with subject: "Order Update #578" SMTP Error: Could not connect to SMTP host.
Error ERROR: Failed sending email to: "" with subject: "[ORDERS STATUS] Order Update #578" SMTP Error: Could not connect to SMTP host.

It also seems on the customer front end that no e-mails are being sent out for what we imagine is the same reason.

Any assistance would be appreciated.

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

6 May 2010, 4:19 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

What Email Transport are you using?
What are all your SMTP settings? (don't post the password)
Is this on a live server, or a test site?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 May 2010, 6:19 PM
#3
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Post #3 by jla

DrByte:

What Email Transport are you using?
What are all your SMTP settings? (don't post the password)
Is this on a live server, or a test site?

Hello - this is on the site Live now

SMTP Email Account Mailbox [email protected] Info
SMTP Email Account Password -------- Info
SMTP Email Mail Host smtpauth.earthlink.net Info
SMTP Email Mail Server Port 587 Info

We changed the e-mail address for this post for obvious reasons

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

7 May 2010, 5:37 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #5 by drbyte

Port 587 is intended to use SSL, but it seems like your server doesn't like the default treatment of 587 as TLS/SSL.

Try doing this to force it to skip the TLS aspect:

  • create a new file at /includes/extra_configures/treat_email_port_587_specially.php
  • containing just the following:```
<?php define('SMTPAUTH_EMAIL_PROTOCOL', 'none'); ``` - copy the same file to /admin/includes/extra_configures/ NOTE: This will NOT work for versions older than v1.3.9b

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 May 2010, 3:23 PM
#6
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Post #6 by jla

DrByte:

Port 587 is intended to use SSL, but it seems like your server doesn't like the default treatment of 587 as TLS/SSL.

Try doing this to force it to skip the TLS aspect:

  • create a new file at /includes/extra_configures/treat_email_port_587_specially.php
  • containing just the following:```
<?php define('SMTPAUTH_EMAIL_PROTOCOL', 'none'); ``` > - copy the same file to /admin/includes/extra_configures/ > > > NOTE: This will NOT work for versions older than v1.3.9b Thanks, I'll give this a try. In the meantime - switched over to another available server on port 25 and everything seems to be working. Any thoughts on the custom sidebox issue I mentioned in the other post? Thanks again!

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

10 Oct 2011, 8:59 PM
#7
buddamanx avatar

buddamanx

New Zenner

Join Date:
Mar 2006
Posts:
3
Plugin Contributions:
0

Post #7 by buddamanx

Can someone point me to the RFC that specifies 587 is SSL only?