How Do You Force mail(); To Activate Autoresponder Script

Discussion in 'PHP' started by TKY_Publishing, Jun 8, 2013.

  1. #1
    Bought an autoresponder script a LOOOOOOOOONG time ago that I've managed to retool to working status by rewriting/updating functions and plugging security holes and what have you. After reading about 2500+ pages in Google (over the last two weeks) AND laboriously searching the 638-page "Programming/PHP" section of the forum, I feel I have to put the question out there. I want to state for the record that I have no problems with my hosting mailserver. To test beforehand, I uploaded this mail check;
    
    <?php
    mail([EMAIL]'you@domain.com'[/EMAIL], 'Test mail', 'If you receive this message, everything works fine');
    ?>
    
    PHP:
    and the message came through fine at my domain, as well as Hotmail and Gmail. What I'm using the script for is delivery of ecourses to those that signup to that particular list.

    I've managed to isolate what I think is the sending mechanism function for it;
    
    $send =  mail($EmailAddress, $Send_Subject, $Message_Body, $Message_Headers, "-f $OwnerEmail");
    
    PHP:
    but I'm about as lost as can be as to why the autoresponder message series isn't fired when the confirmation link is clicked. There is NO problem with the confirmation aspect. A potential list member completes the form on the signup page, then recieves the double opt-in link in their mail and is then taken to the confirmation page which lets them download their materials prior to recieving the autoresponder message series. Where am I going wrong in this process? Have already flattened all errors/notices as there is a php.ini file with error_reporting(E_ALL); , but NEVER recieve the series mails (set single message @ 0,0,0,0,0 so I get the mail right after the confirmation page is reached). Any pointers to the isolation/solution would be super-appreciated. I want to make the script functional as I was tired of hopping from script to script, and it has important features like time-stamp verification and IP tracking that I need to maintain list control. Does anyone have ANY idea? I just don't want to read another 2500+ pages.....:(
     
    TKY_Publishing, Jun 8, 2013 IP
  2. TKY_Publishing

    TKY_Publishing Well-Known Member

    Messages:
    270
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    7
    Articles:
    28
    #2
    For anyone interested - YES - I read the manual, but didn't find a satisfactory approach (but did snag a bunch of fixes that got me to the current point).
     
    TKY_Publishing, Jun 8, 2013 IP
  3. TKY_Publishing

    TKY_Publishing Well-Known Member

    Messages:
    270
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    7
    Articles:
    28
    #3
    Another point I need to make, is that NOWHERE in the manual accompanying the script is there a SINGLE mention about a cronjob being needed....still stuck, but happy the question is out now.
     
    Last edited: Jun 8, 2013
    TKY_Publishing, Jun 8, 2013 IP