php mailer?where can i get one
Posted: Thu Apr 19, 2007 8:42 am
i have one to send emails anonymously(plain text only) but i cant send html and the messages dont go to inbox,where can i get a new php mailer script
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
err, what?ejiro2x wrote:what makes it different from php?ill check though
It's no longer correct since v3 is not in any way like v2 (except for the connection choices and some of the plugins). The page is still at http://www.swiftmailer.org/phpmailer though.Oren wrote:mm... where is the benchmark page that I've seen on Swift's home few months ago?
Code: Select all
$id = explode(',', $id);
foreach ($id as $id) {
$x = 1;
$delay = 50;
$sql = mysql_query('SELECT name, email FROM table WHERE id = '.$id.'');
while ($row = mysql_fetch_array($sql)) {
foreach($row as $key=>$value){
$$key = $value;
}
$send = @mail($email, $subject, $message, "From:Some Company<admin@domain.com>");
$x++;
if($x == $delay) {
sleep(3);
$x = 0;
}
}
}
if($send){
echo '<br /><br /><center><b>Your message(s) has been mailed out successfully.</b></center>';
}else{
echo '<br /><br /><center><b>Your message could not be mailed out at this time. Please try again later.</b></center>';
}I don't think he has a question, he was saying he uses that script, if anyone else wants to use it. I don't think he understood the question on topic though.Oren wrote:And your question is?
P.S Use Swift Mailer instead