1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

If you have a working PHP mailer that you want to sell PM me

Discussion in 'Misc' started by chillyd1, Sep 28, 2007.

Thread Status:
Not open for further replies.
  1. chillyd1

    chillyd1 Registered Member

    Joined:
    Aug 22, 2007
    Messages:
    64
    Likes Received:
    3
    Looking for a working PHP mailer. Please don't respond or PM me if you rarely check your messages. I have been dealing with two people that don't respond for days. Willing to pay up to $40.00.


    thanks
     
  2. nova

    nova BANNED BANNED

    Joined:
    Jul 23, 2007
    Messages:
    256
    Likes Received:
    41
    Here you go.. this just took me a few minutes.. not worth 40 bucks LOL


    Code:
    <?
    set_time_limit(0);
    
    $subject=$_POST['subj'];
    $msg=stripslashes($_POST['msg']);
    
    
    
    if($_POST['send']=="Submit")
    {
    
    $reciparr=explode("\n",$_POST['to']);
    
    echo "Total mail to send is:". count($reciparr)." <br>";
    
    
    	for($i=0;$i<count($reciparr);$i++)
    	{
    
    	$specsarr=explode("|",$reciparr[$i]);
    
    	$salutation="Hi ".trim(ucfirst($specsarr[0])).",\n";
    
    
    	mail(trim($specsarr[1]), $subject,$salutation ."\n". str_replace("{{fname}}",trim(ucfirst($specsarr[0])),$msg), "From: YOURNAME <you@yourdomain.com>");
    
    	echo $i+1 .") mail sent to: ". $specsarr[1];
    	echo" <br>";
    	flush;
    
    	}
    
    
    }
    
    ?>
    
    <html>
    
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>mail</title>
    </head>
    
    <body>
    
    <form method="POST" action="massmailer.php">
      <p>Subject <input type="textbox" name="subj" size="20"></p>
      <p>
      Recipients</p>
      <p>
      <textarea rows="12" name="to" cols="48"></textarea></p>
      <p>Message</p>
      <p><textarea rows="12" name="msg" cols="48"></textarea></p>
      <p><input type="submit" value="Submit" name="send">
      </p>
    </form>
    
    </body>
    
    </html>
    Save this file as "massmailer.php" then when you load the page in your browser, enter the users one per line in the format

    name|email
    name|email

    So its the users name then the "|" symbol followed by the email, one per line....

    Enjoy!
     
  3. chillyd1

    chillyd1 Registered Member

    Joined:
    Aug 22, 2007
    Messages:
    64
    Likes Received:
    3
    thanks man that was nice of you.
     
  4. WINNA36

    WINNA36 BANNED BANNED

    Joined:
    Jun 27, 2007
    Messages:
    113
    Likes Received:
    58
    ur a genius...
     
  5. nova

    nova BANNED BANNED

    Joined:
    Jul 23, 2007
    Messages:
    256
    Likes Received:
    41

    LOL not quite guys, its simple php programming :p
     
  6. 10kay

    10kay Registered Member

    Joined:
    Oct 13, 2007
    Messages:
    87
    Likes Received:
    38
    thanx nova, will/can the code pause the outgoing email, say 1 email every 20 seconds?
     
  7. ContentFarmer

    ContentFarmer Junior Member

    Joined:
    Sep 21, 2007
    Messages:
    122
    Likes Received:
    12
    Occupation:
    Owner
    Location:
    Reno, NV
    Home Page:
  8. 10kay

    10kay Registered Member

    Joined:
    Oct 13, 2007
    Messages:
    87
    Likes Received:
    38
    thanks for the code contentF, will give it a try!
     
  9. nicho

    nicho Regular Member

    Joined:
    Oct 17, 2007
    Messages:
    490
    Likes Received:
    686
    Occupation:
    Internet Marketer
    Location:
    UK
    Home Page:
    thanks for the coding Satyajeet regards nicho
     
  10. JerkJr

    JerkJr Newbie

    Joined:
    Nov 23, 2007
    Messages:
    19
    Likes Received:
    4
    I use phplist**com for my mass mailing. Its an open source php based mass mailer.
     
Thread Status:
Not open for further replies.