Page 2 of 23 FirstFirst 123412 ... LastLast
Results 11 to 20 of 228
  1. #11
    Join Date
    Jun 2007
    Posts
    271
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    Hmm.... so all my test emails were returned with the correct subject line, but the body of the email is:

    $EMAIL_MESSAGE_HTML

    $EMAIL_FOOTER_COPYRIGHT

    $EMAIL_DISCLAIMER
    $EMAIL_SPAM_DISCLAIMER

    $EXTRA_INFO


    Any ideas on why this info wouldn't have flowed through correctly?

    -lindasdd

  2. #12
    Join Date
    Jan 2008
    Posts
    1,711
    Plugin Contributions
    7

    Default Re: Autoresponder+ [support thread]

    I can't replicate this error. What email program are you using? What Zen Cart version? What version of the mod? Do you have any other mods installed which you think might cause a problem?

    For some reason you have undefined constants which email/email_template_autoresponder.html is trying to use.

    Most of these constants should be defined in either:
    includes/languages/english/email_extras.php
    or
    includes/languages/english/your_template/email_extras.php

    Can you check to see the constants are there?

    What's strange is that $EMAIL_MESSAGE_HTML should be defined by the mod itself. This makes me think there's a wider problem, one which at the moment I'm not sure what the cause would be.

    Perhaps you could try using another admin email address to test with? In autoresponder.php, find this code:

    $admin_email=STORE_OWNER_EMAIL_ADDRESS;

    Change to something like..
    $admin_email="test@test.com";

    Related Tutorial/FAQ:
    http://tutorials.zen-cart.com/index.php?article=95

  3. #13
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    Thanks so much for this mod - very very timely!

    I'm getting an error on preset 2 (I'm in test mode) although it sends the email correctly:

    Warning: Invalid argument supplied for foreach() in /usr/local/psa/home/vhosts/greenunion.co.uk/httpdocs/shop/includes/functions/functions_email.php on line 387

    line 387 says:
    {
    PHP Code:
     foreach ($block as $key=>$value) { 

  4. #14
    Join Date
    Jan 2008
    Posts
    1,711
    Plugin Contributions
    7

    Default Re: Autoresponder+ [support thread]

    @patski

    What Zen Cart version are you using?

  5. #15
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    1.3.7.1

  6. #16
    Join Date
    Jan 2008
    Posts
    1,711
    Plugin Contributions
    7

    Default Re: Autoresponder+ [support thread]

    Quote Originally Posted by patski View Post
    1.3.7.1
    Ok I think this would be the problem. I've never used 1.3.7 but I imagine there are differences in functions_email.php. You said that the email sent correctly, so it might be best to just ignore this error?

  7. #17
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    Thanks - there would appear to be significant differences between the two files.

    PHP Code:
    // check for injection attempts. If new-line characters found in header fields, simply fail to send the message
        
    foreach(array($from_email_address$to_address$from_email_name$to_name$email_subject) as $key=>$value) {
          if (
    eregi("\r",$value) || eregi("\n",$value)) return false;
        } 
    Not sure what would happen if I simply inserted this code into the 1.3.71 version or if I uploaded the whole version 8 file without fully upgrading....

    My test is only sending to one person at the moment so not sure what happens when more than one recipient is in the run.

  8. #18
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    PS: Just uploaded the new functions_email file and PGA.....

  9. #19
    Join Date
    Jan 2008
    Posts
    1,711
    Plugin Contributions
    7

    Default Re: Autoresponder+ [support thread]

    Quote Originally Posted by patski View Post
    and PGA.....
    What does this stand for?

  10. #20
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    problem gone away.....

    ps does your structure to add new queries extend to customer location......
    Last edited by patski; 12 Aug 2008 at 03:20 PM.

 

 
Page 2 of 23 FirstFirst 123412 ... LastLast

Similar Threads

  1. v151 Autoresponder+ for ZCv1.5.x [Support Thread]
    By countrycharm in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 May 2013, 04:03 AM
  2. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1059
    Last Post: 7 May 2013, 12:16 AM
  3. Save For Later Support Thread
    By swguy in forum All Other Contributions/Addons
    Replies: 116
    Last Post: 3 May 2013, 05:35 PM
  4. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 983
    Last Post: 30 Apr 2013, 02:42 PM
  5. Support Thread for JS Date Picker for options
    By eVelt in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 18 Sep 2012, 03:08 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
  •