![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Dec 2001
Location: The Great USA
Posts: 1,632
|
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Dec 2001
Location: The Great USA
Posts: 1,632
|
Bump for some help..
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2006
Location: A magical land
Posts: 15,808
|
Quote:
Just something to consider |
|
![]() |
![]() ![]() ![]() ![]() ![]() |