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

SMTP problem after upgrade

Locked

Started by hartsa on 7 Sep 2006, 9:38 AM · Views: 3,930

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
7 Sep 2006, 9:38 AM
#1
hartsa avatar

hartsa

New Zenner

Join Date:
Sep 2006
Posts:
4
Plugin Contributions:
0

SMTP problem after upgrade

I still have both versions 1.3.0 and 1.3.5 running on Fedora 5 server.
I cannot send smtp mail with 1.3.5, while 1.3.0 works perfectly.
The smtp settings are the same in both versions.

Any ideas?

7 Sep 2006, 10:16 AM
#2
hartsa avatar

hartsa

New Zenner

Join Date:
Sep 2006
Posts:
4
Plugin Contributions:
0

Re: SMTP problem after upgrade

Quick fix.
I replaced functions_email.php with the one from version 1.3.0 and now it works. I dont have time to look into more details what has been changed,
but anybody pls advice if u can resolve this issue..

7 Sep 2006, 11:45 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: SMTP problem after upgrade

What port is your SMTP SERVER PORT set to?

.
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 Sep 2006, 11:57 AM
#4
hartsa avatar

hartsa

New Zenner

Join Date:
Sep 2006
Posts:
4
Plugin Contributions:
0

Re: SMTP problem after upgrade

DrByte:

What port is your SMTP SERVER PORT set to?

Standard Port 25.

7 Sep 2006, 1:09 PM
#5
acura avatar

acura

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

Re: SMTP problem after upgrade

Confirm the above 'Quick fix' with v1.3.0.2 v/s v1.3.5 as per my thread.
Great stuff... i would still appreciate confimation from Devs on this :smile:.

7 Sep 2006, 1:16 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: SMTP problem after upgrade

/includes/functions/functions_email.php
line 137
try changing the & to &&:```
if (EMAIL_SMTPAUTH_MAIL_PORT != '25' && EMAIL_SMTPAUTH_MAIL_PORT != '') $mail->Port = EMAIL_SMTPAUTH_MAIL_PORT;


Does that make any difference?

.
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 Sep 2006, 1:37 PM
#7
acura avatar

acura

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

Re: SMTP problem after upgrade

Very late at night for me but doesn't seem to work...?

8 Sep 2006, 8:44 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: SMTP problem after upgrade

How embarrassing ... :blush:

This should work better ...

/includes/functions/functions_email.php
line 137
change from```
if (EMAIL_SMTPAUTH_MAIL_PORT != '25' & EMAIL_SMTPAUTH_MAIL_PORT != '') $mail->Port = EMAIL_SMTPAUTH_MAIL_PORT;

    if (EMAIL_SMTPAUTH_MAIL_SERVER_PORT != '25' && EMAIL_SMTPAUTH_MAIL_SERVER_PORT != '') $mail->Port = EMAIL_SMTPAUTH_MAIL_SERVER_PORT;

.
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.

8 Sep 2006, 1:33 PM
#9
acura avatar

acura

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

Re: SMTP problem after upgrade

All is good! :D
Thanks DrByte... much appreciated.