Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Feb 2008
    Posts
    55
    Plugin Contributions
    0

    Default Re: Sending Subscription Manager emails: Notice: FAILED to send Email to all recipien

    Same problem here. I'll look into this today.

  2. #12
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,549
    Plugin Contributions
    81

    Default Re: Sending Subscription Manager emails: Notice: FAILED to send Email to all recipien

    If you open /includes/functions/audience.php and find:

    PHP Code:
    // BEGIN newsletter_subscribe mod 2/2
        
    if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') &&
           (
    NEWSONLY_SUBSCRIPTION_ENABLED=='true')) {
           
    $query_string "select c.customers_firstname, c.customers_lastname, " 
                       
    "s.email_address as customers_email_address from " TABLE_SUBSCRIBERS 
                       
    " as s left join " TABLE_CUSTOMERS 
                       
    " as c on c.customers_id = s.customers_id " .
                       
    " where email_address = '" zen_db_input($cust_email_address) . "'" .
                       
    " and (s.confirmed = 1 or s.customers_id >= 1) ";

        } else {        
            
    $query_string "select customers_firstname, customers_lastname, customers_email_address
                                  from " 
    TABLE_CUSTOMERS "
                                  where customers_email_address = '" 
    zen_db_input($cust_email_address) . "'";
        }
    // END newsletter_subscribe mod 2/2 
    Try replacing that with:

    PHP Code:
            $query_string "select customers_firstname, customers_lastname, customers_email_address
                                  from " 
    TABLE_CUSTOMERS "
                                  where customers_email_address = '" 
    zen_db_input($cust_email_address) . "'"
    This will remove the core hack made by the subscription manager module. But I don't see why it needs to make this hack since this part of the code is only executed if the recipient is a single email address. In that case the subscription manager isn't needed at all.

  3. #13
    Join Date
    Feb 2007
    Location
    Walsall
    Posts
    222
    Plugin Contributions
    0

    Default Re: Sending Subscription Manager emails: Notice: FAILED to send Email to all recipien

    I am having the same issue. Has anybody found a solution yet?

  4. #14
    Join Date
    Feb 2007
    Location
    Walsall
    Posts
    222
    Plugin Contributions
    0

    Default Re: Sending Subscription Manager emails: Notice: FAILED to send Email to all recipien

    Any solution yet?

  5. #15
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Sending Subscription Manager emails: Notice: FAILED to send Email to all recipien

    post #12 above is the answer; although I just replaced includes/functions/audience.php with original file and it was fixed for me

  6. #16
    Join Date
    Nov 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: Sending Subscription Manager emails: Notice: FAILED to send Email to all recipien

    I just want to make sure I do this correctly. When I get to the area in the includes/functions/audience.php with

    // BEGIN newsletter_subscribe mod 2/2
    if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') &&
    (
    NEWSONLY_SUBSCRIPTION_ENABLED=='true')) {
    $query_string = "select c.customers_firstname, c.customers_lastname, " .
    "s.email_address as customers_email_address from " . TABLE_SUBSCRIBERS .
    " as s left join " . TABLE_CUSTOMERS .
    " as c on c.customers_id = s.customers_id " .
    " where email_address = '" . zen_db_input($cust_email_address) . "'" .
    " and (s.confirmed = 1 or s.customers_id >= 1) ";

    } else {
    $query_string = "select customers_firstname, customers_lastname, customers_email_address
    from "
    . TABLE_CUSTOMERS . "
    where customers_email_address = '"
    . zen_db_input($cust_email_address) . "'";
    }
    // END newsletter_subscribe mod 2/2


    I'm to replace all of it with the code below including the // BEGIN newsletter_subscribe mod 2/2 and // END newsletter_subscribe mod 2/2 ?

    $query_string = "select customers_firstname, customers_lastname, customers_email_address
    from "
    . TABLE_CUSTOMERS . "
    where customers_email_address = '"
    . zen_db_input($cust_email_address) . "'";

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 11
    Last Post: 17 Dec 2017, 09:34 PM
  2. v139h Notice: FAILED to send Email to all recipients
    By m.subhasish in forum General Questions
    Replies: 1
    Last Post: 18 Jan 2012, 09:59 PM
  3. Email Archive Manager not logging all emails
    By seian in forum General Questions
    Replies: 3
    Last Post: 28 Dec 2009, 09:32 PM
  4. Replies: 0
    Last Post: 27 Jul 2009, 12:22 PM
  5. email problem -- SMTP Error: The following recipients failed:
    By rogeruk1977 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Aug 2008, 11:30 PM

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