Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

    Default Not able to Send Emails after Upgrade

    Hello,
    I just installed the latest version of zencart, for some reason now I'm not able to send any emails, create accounts, newsletters, etc. They show in the archives so I know they went out but that's as far as it goes.
    I've made no changes to my email setup. It's the same setting as the previous version. I had no issues before upgrading. I've tried all the settings in E-mail options but still no go. I even tried contacting my host (Hostmonster) but they seem clueless. They said any of the settings should work. NOT! They also told me what to use for SMTPAUTH. Tried their suggestion but that didn't work either.

    Any help is much appreciated.

    Thanks,
    Robyn

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Not able to Send Emails after Upgrade

    One of my test sites is on Hostmonster. I've always used only the defaults for all email settings, and never had any problems.

    What exact error messages are you seeing when you attempt to send emails?
    What addons/contributions do you have installed?
    What version did you upgrade from?
    .

    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.

  3. #3
    Join Date
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

    Default Re: Not able to Send Emails after Upgrade

    Thanks for replying Dr. Byte,

    If I send a newsletter directly from Zencart, I receive no error, it shows in the archives but the recipient just doesn't receive anything. I've tried 3 different email addresses but nothing. When I sign up for a newsletter or send something from the contact us page on my site, I receive the following if I use any of he transport methods besides smtp or smtpauth:
    ERROR: Failed sending email to: "" with subject: "Please confirm Foxxy Diva Fashions newsletter subscription" Could not instantiate mail function.
    If I try smtp, I receive the same but at the end it says it can't connect to smtp.
    I was on the phone with Hostmonster for over an hour and he even went so far as to go log into my store to see what I was referring to. He said the emails aren't even making it to their logs. I'm able to send emails from an outside source to my hostmonster mailbox though just not from Zen.

    Everything worked fine before this upgrade from 1.37 to 1.38.

    Is it possible to just replace whatever file controls sending emails with my previous file?

    Thanks for your help,
    Robyn

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Not able to Send Emails after Upgrade

    Quote Originally Posted by Robbyn7 View Post
    ERROR: Failed sending email to: "" with subject: "Please confirm Foxxy Diva Fashions newsletter subscription" Could not instantiate mail function.
    That appears to be an email related to signing up to a newsletter via an addon to Zen Cart.
    What happens if you create an account or place an order, instead?
    .

    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.

  5. #5
    Join Date
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

    Default Re: Not able to Send Emails after Upgrade

    I was just getting ready to mention that I do have the Newsletters-Only Subscription mod installed. Could this be the problem?

    I haven't tried placing an order but I did try creating an account but never received the Welcome email using PHP as my transport method. And it does show in my archive as having been sent.

    Thanks,
    Robyn
    Last edited by Robbyn7; 6 Dec 2007 at 05:09 PM.

  6. #6
    Join Date
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

    Default Re: Not able to Send Emails after Upgrade

    Hello all,

    Just used Winmerge to compare my current functions_email.php with the upgraded functions_email.php. Made the necessary additions and uploaded it. Now I only get "Could not instantiate mail function" if I use PHP. If I use sendmail or sendmail -f no error but the emails still aren't sending. I've tried signing up for my Newsletter, Contact Us, Creating an account, and sending an email through Zen. Nothing works.

    Anything else I can try to get this to work?

    Thanks,
    Robyn

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Not able to Send Emails after Upgrade

    Near the top of your functions_email.php file is a DEBUG setting which is likely set to 0.
    Change it to 5, and try another email.
    What happens?
    .

    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. #8
    Join Date
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

    Default Re: Not able to Send Emails after Upgrade

    Hi Dr. Byte,

    I tried your suggestion and tried every transport method available and I'm still unable to receive any emails from Zen. After 13hrs. straight of trying to get this to work, I'm stumped!

    Here's a snippet of my functions_email.php file.

    <?php
    /**
    * functions_email.php
    * Processes all email activities from Zen Cart
    * Hooks into phpMailer class for actual email encoding and sending
    *
    * @package functions
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: functions_email.php 7336 2007-10-31 12:35:12Z drbyte $
    * 2007-09-30 added encryption support for Gmail Chuck Redman
    */

    /**
    * Set email system debugging off or on
    * 0=off
    * 1=show SMTP status errors
    * 2=show SMTP server responses
    * 4=show SMTP readlines if applicable
    * 5=maximum information
    * 'preview' to show HTML-emails on-screen while sending
    */
    if (!defined('EMAIL_SYSTEM_DEBUG')) define('EMAIL_SYSTEM_DEBUG','5');
    if (!defined('EMAIL_ATTACHMENTS_ENABLED')) define('EMAIL_ATTACHMENTS_ENABLED', true);

    // Gmail transport to use - to enable set to ssl or tls
    if (!defined('SMTPAUTH_EMAIL_PROTOCOL')) define('SMTPAUTH_EMAIL_PROTOCOL', 'none');

    /**
    * Send email (text/html) using MIME. This is the central mail function.
    * If using "PHP" transport method, the SMTP Server or other mail application should be configured correctly in server's php.ini
    *

    Any help is appreciated,

    Thanks,
    Robyn

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Not able to Send Emails after Upgrade

    So ... you didn't get any debug info on-screen?
    .

    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
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

    Default Re: Not able to Send Emails after Upgrade

    Sorry, had to take a break.

    No, I didn't get any on-screen debug information even after trying all of the transport methods.

    Thanks for all your help.

    Robyn

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. After upgrade from 1.5.1 to 1.5.3 im not able to edit anything
    By boulhich in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 18 Nov 2014, 04:14 AM
  2. v150 Can't send emails after upgrade from 3.9g to 5
    By ajbeckster in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 2 Jun 2012, 05:27 PM
  3. v139h Not able to send Gift Certificates...
    By dlwallace in forum General Questions
    Replies: 1
    Last Post: 20 Mar 2012, 01:55 PM
  4. Not able to send emails
    By navjyot in forum Installing on a Windows Server
    Replies: 1
    Last Post: 16 May 2009, 01:35 AM

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