I Need A Simple Email Script ???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wiredoctor
    Confirmed User
    • Dec 2001
    • 1632

    #1

    I Need A Simple Email Script ???

    No this is not for spamming at all. I'm looking for a simple Windows based script to send emails from my puter. Doesn't need to be complicated it's simply for a mass email to about 200-300 customers with newsletters and updates. Anyone know of any decent ones?

    Thanks In Advance
    Search For Everything In One Easy Portal
    Big Juicy Nipples.com
  • Wiredoctor
    Confirmed User
    • Dec 2001
    • 1632

    #2
    Bump for some help..
    Search For Everything In One Easy Portal
    Big Juicy Nipples.com

    Comment

    • SmokeyTheBear
      ►SouthOfHeaven
      • Jun 2004
      • 28609

      #3
      put all your emails in a file called emails.txt each on a new line
      put your email message in a file called message.txt

      save this code as email.php and run in browser it will email each email in list the message in message.txt ( html can be used )

      Code:
      <?php
      
      
      $from = "[email protected]";
      $subject = "my email subject";
      $list = file_get_contents("emails.txt");
      $message = file_get_contents("message.txt");
      
      
      
      $headers = "From: $from\r\n";
      $headers .= "Reply-To: $from\r\n";
      $headers .= "Return-Path: $from\r\n";
      $headers .= "MIME-Version: 1.0\r\n";
      $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
      
      
      $dc = explode("\n",$list);
      
      
      foreach( $dc as $key => $to){
      if(mail($to, $subject, $message,$headers)) {
      echo "$to has been mailed<br>";
      } else {
      echo "error sending to $to <br>";
      }
      }
      
      ?>
      hatisblack at yahoo.com

      Comment

      • SmokeyTheBear
        ►SouthOfHeaven
        • Jun 2004
        • 28609

        #4
        p.s. many server by default will limit the amount of emails you can send per hour, i'm thinking its like 200 or something
        hatisblack at yahoo.com

        Comment

        • DamianJ
          Too lazy to set a custom title
          • Jul 2006
          • 15808

          #5
          Originally posted by Wiredoctor
          No this is not for spamming at all. I'm looking for a simple Windows based script to send emails from my puter. Doesn't need to be complicated it's simply for a mass email to about 200-300 customers with newsletters and updates. Anyone know of any decent ones?

          Thanks In Advance
          It's more than likely against the ToS of your ISP to use your box as a mail server.

          Just something to consider

          Comment

          Working...