I need someone to create me a php yahoo bulk mailer

Discussion in 'PHP' started by marksman1, Dec 5, 2012.

  1. #1
    I have an aol and yahoo smtp mailer. There is something wrong with the yahoo part. I would like to work with someone to fix it. Let me know if your are interested.
     
    marksman1, Dec 5, 2012 IP
  2. bowodesign

    bowodesign Member

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    if iam not wrong yahoo smtp is a premium service right? i mean you must pay to use yahoo smtp CMIIW
     
    bowodesign, Dec 5, 2012 IP
  3. davetrebas

    davetrebas Active Member

    Messages:
    301
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    78
    #3
    You are still going to be limited to the number of emails you can send an hour. When you say "bulk" mailer - how many emails do you plan to send.

    If it a regular double opt-in list then it is (still) better to go with someone like aWeber and let them manage the whole thing
     
    davetrebas, Dec 5, 2012 IP
  4. marksman1

    marksman1 Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    http://kb.mozillazine.org/Yahoo

    It should be free. I was sending 5-7 mil a day. I send from created yahoo accounts. I have the code to do it already, there is just something broken in it.
     
    marksman1, Dec 5, 2012 IP
  5. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #5
    Post the broken part here and someone will help you with it. (Just the broken part - don't spam the forum with dozens of lines of code that have nothing to do with the problem. It's going to be the function with the mail() function in it.)
     
    Rukbat, Dec 5, 2012 IP
  6. marksman1

    marksman1 Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    That the issue. I dont know where its broken.
     
    marksman1, Dec 6, 2012 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    What is it doing and what is it not doing? Let's start with that. "There's something wrong with it" doesn't tell us much. Is it sending bad emails? Not sending at all? Giving you an error message?

    Can you find the part of the code with the Yahoo email server address? If so, post the code from 10 lines above that to 10 lines below it. (Please use the code tags - the # button above the place you type into.)
     
    Rukbat, Dec 6, 2012 IP
  8. marksman1

    marksman1 Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #8
    function runMain(){
    global $threads;
    global $chunked_data;
    $mcounter = array();
    $pids = array();
    loadAccounts();
    loadData();
    $fc = popInitialAccounts($threads);
    $fd = explode("\n", $fc);
    //$datas = popInitialData($threads);
    //$dd = explode("\n",$datas);

    for($x=1; $x <= count($fd); $x++) {
    $totalt++;
    $i++;
    $pids[$i] = pcntl_fork();

    if(!$pids[$i]) {
    // child process
    $t = explode(':', $fd[$x-1]);
    $myu['email'] = $t[0];
    $myu['passwd'] = $t[1];
    $myu['lastsent'] = $t[2];


    //$myu['contacts'] = $chunked_data[$x-1];

    runThread($myu, $i);
    // sleep(1);
    exit();
    }
    else
    {
    //Parent
    }





    The error I am getting in putty is - <br /> fatal error</b>: call to underfined function pcntl_fork() in <b>/root/amaildata/mail </b> on line <b> 155 </b><br/>
     
    marksman1, Dec 31, 2012 IP
  9. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #9
    In the line
    $pids[$i] = pcntl_fork();
    there's no such function. I don't know where you got the code but there's either a typo or it's missing a function.
     
    Rukbat, Dec 31, 2012 IP
  10. marksman1

    marksman1 Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #10
    I am defiantly not a coder, but I believe this function exists. I googled it and - The pcntl_fork() function creates a child process that differs from the parent process only in its PID and PPID.

    I have never seen this error before so it has really put a 'fork' in my emailing.
     
    marksman1, Dec 31, 2012 IP
  11. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #11
    What version of PHP is your server running? What OS is it running?
     
    Rukbat, Dec 31, 2012 IP
  12. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #12
    The above script seems to need pcntl (process controls for forking child processes in PHP) extension installed:

    http://php.net/manual/en/pcntl.installation.php

    I would send the above link to your host and ask them to install it. Chances are if they block script execution (exec, system, etc..) they will refuse to install it, in which case you will need to get a private virtual server (they go around 9 bucks a month).
     
    ThePHPMaster, Dec 31, 2012 IP
  13. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #13
    Lol, good one.

    Did you switch hosts by any chance? It is kinda strange for a host to disable functionality on a server without notifying their users about those changes.
     
    ThePHPMaster, Dec 31, 2012 IP
  14. marksman1

    marksman1 Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #14

    centros 6.2
     
    marksman1, Dec 31, 2012 IP
  15. marksman1

    marksman1 Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #15
    I did switch to a new server, then uploaded the mailer myself.
     
    marksman1, Dec 31, 2012 IP
  16. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #16
    What version of PHP? If it's a version before pcntl_fork() was introduced, that would be the problem.
     
    Rukbat, Dec 31, 2012 IP