Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default "Email Error:" after upgrading from 1.3.5

    Hi,

    This has been driving me nuts! I thought I had done something wrong but as a last resort I reinstalled a fresh copy of 1.3.5, clicked 'contact us' and the email went off perfectly!

    I reinstall a fresh copy of 1.3.6, clicked contact us and it comes up with "Email Error" or whenever I tried to send an email from zencart.

    I then rename version 1.3.6 includes to includesV136
    I rename includesV135 to includes
    Click refresh and I can send contact us successfully.

    So 1.3.5 is sending out emails successfully where with 1.3.6 I get an "Email Error:". Note that when I renamed the includes file, nothing in the database was changed e.g. 1.3.6 installed settings, just using 1.3.5 includes directory.

    I've tracked down includes/functions/functions_email.php

    Here's something strange.
    1.3.6 installation, 1.3.5 includes, 1.3.6 functions_email, lots of header errors but I received an email

    1.3.6 installation, 1.3.6 includes, 1.3.5 functions_email, no apparent errors -> email sent

    1.3.6 installation, 1.3.6 includes, 1.3.5 functions_email, -> "Email Error". I can check email archive and it is there.

    I've spent the last two days reading the forums and trying to sort this out and finally come up with the above.

    I'm now going re-upload my mods and database and see if my shop will now work with 1.3.5 functions_email instead of the 1.3.6 version.

    In the meantime, does anyone have any idea what might be going on???

    Thanks
    Alan

  2. #2
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: "Email Error:" after upgrading from 1.3.5

    Hi,

    I just reuploaded my website, with 1.3.6 everything, back where I was 48 hours ago, and the email now works

    I've spent the last 48 hours trying to sort out a problem and it seems to have fixed itself

    Why

    Best regards
    Alan

  3. #3
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: "Email Error:" after upgrading from 1.3.5

    Hi,

    Got it.

    I uploaded method of 'PHP'! The default is 'sendmail'.

    I double checked.
    1.3.6 modded installation, 1.3.6 functions_email, method sendmail -> email error

    1.3.6 modded installation, 1.3.5 functions_email, method sendmail -> OK

    1.3.6 modded installation, 1.3.6 functions_email, method PHP -> OK

    Sooo ... what changed in functions_email to stop it working with sendmail??

    Best regards
    Alan

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: "Email Error:" after upgrading from 1.3.5

    Nice bit of troubleshooting, Alan.

    Although I don't see using PHP for eMailing as problem, if you do want to use Sendmail then use the 'sendmail -f' option.

  5. #5
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: "Email Error:" after upgrading from 1.3.5

    Hi.
    Quote Originally Posted by Website Rob View Post
    Nice bit of troubleshooting, Alan.

    Although I don't see using PHP for eMailing as problem, if you do want to use Sendmail then use the 'sendmail -f' option.
    sendmail -f doesn't work on my setup either.

    I don't see using PHP as a problem right now, but something changed in 1.3.6 and it broke sendmail on my particular setup. But as I don't know php I don't know where to start to try and fix it!

    Best regards
    Alan

  6. #6
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: "Email Error:" after upgrading from 1.3.5

    Hi,

    This is interesting

    1.3.6 setup, 1.3.5 functions_email and SMTPAUTH works fine.

    If I use 1.3.6 functions_email, SMTPAUTH, I get "email error"

    Weird huh!

    Alan

  7. #7
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: "Email Error:" after upgrading from 1.3.5

    Hi,

    Spoke too soon
    Non-free email destination
    1.3.6 setup, 1.3.5 functions_email and SMTPAUTH -> no error message but no email either
    1.3.6 setup, 1.3.5 functions_email and PHP -> no error message and message delivered.

    I was trying SMPTAUTH to get delivery to yahoo and gmail addresses as it seemed to work for at least one other person.

    Back to the drawing board.

    Best regards
    Alan

  8. #8
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: "Email Error:" after upgrading from 1.3.5

    Hi,

    Yahoo spamguard was on, so I wasn't picking up my test emails as they were classified as spam.

    When I logged onto yahoo, the 1.3.6 functions_email sent as 'php' messages were there.

    I tried with "Emails must send from known domain?", Yes and No and they both worked.

    Phew!

    Hope that helps someone.

    Alan

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: "Email Error:" after upgrading from 1.3.5

    v1.3.6 added the "php" option, useful for those whose servers have odd configuration problems with sendmail or smtp.

    Unless your hosting company can tell you the correct setup (and most don't, it seems), it's best to try them in this order:

    1. PHP
    2. sendmail
    3. sendmail -f
    4. SMTP
    5. SMTPAUTH

    If you want to jump directly to SMTP or SMTPAUTH, that's fine, as it actually bypasses PHP's dependencies and talks directly to the mailserver for sending.


    There is no prescribed setting that Zen Cart can predict for your setup. And, if you switch servers you'll likely have to start all over again choosing the right setup for that server's unique configuration.
    .

    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.

  10. #10
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: "Email Error:" after upgrading from 1.3.5

    Hi,
    Quote Originally Posted by DrByte View Post
    v1.3.6 added the "php" option, useful for those whose servers have odd configuration problems with sendmail or smtp.
    I'm very, very grateful that you did

    What's interesting is that with my host
    1.3.6 installation, 1.3.6 functions_email, method sendmail -> Email Error
    1.3.6 installation, 1.3.5 functions_email, method sendmail -> Works fine!

    If there wasn't a 1.3.6 PHP option I would have to use 1.3.6 zencart with the 1.3.5 functions_email!!!

    Best regards
    Alan

 

 

Similar Threads

  1. additional "admin" folder after upgrading
    By mermaidlisa in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 9 May 2010, 05:44 AM
  2. error when trying to email gv from admin, after upgrading from 1.3.7
    By redheads in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 14 Oct 2009, 06:23 AM
  3. Admin "Related Products" section gone after upgrading to v1.3.8
    By libaizhuo in forum General Questions
    Replies: 2
    Last Post: 2 Sep 2009, 02:26 PM
  4. Admin "Related Products" section gone after upgrading to v1.3.8
    By libaizhuo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Sep 2009, 09:16 AM
  5. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR