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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-15-2009, 12:46 PM   #1
Wiredoctor
Confirmed User
 
Wiredoctor's Avatar
 
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
Wiredoctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2009, 01:04 PM   #2
Wiredoctor
Confirmed User
 
Wiredoctor's Avatar
 
Join Date: Dec 2001
Location: The Great USA
Posts: 1,632
Bump for some help..
Wiredoctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2009, 01:26 PM   #3
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
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
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2009, 01:27 PM   #4
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
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
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2009, 02:17 PM   #5
DamianJ
Too lazy to set a custom title
 
DamianJ's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: A magical land
Posts: 15,808
Quote:
Originally Posted by Wiredoctor View Post
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
DamianJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.