|
Posted by "Richard Lynch" on 11/14/05 21:35
On Fri, November 11, 2005 9:33 pm, Bruce Gilbert wrote:
> $headers = "From: $sender";
> $headers .= "Reply-To: $reply_to";
> $headers .= "Return-Path: $return_path";
> $headers .= "X-Sender: $x_sender";
> $headers .= "X-Mailer: PHP4\n"; //mailer
These two may trip some spam filters.
> $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
Setting this at all probably trips a few spam filters.
> $headers .= "Mime-Version:1.0\n Content-Type: text/plain;
> charset=\"iso-8859-1\nContent-Transfer-Encoding: 8bit\n";
>
> mail( $recipient, $subject, stripslashes($message), $headers );
Check the return error code!!!
http://php.net/mail
> sleep(1);
Just how many emails are you trying to send with mail()?
http://php.net/mail was never designed for heavy-volume lists...
Look into http://phpclasses.org for something that WAS designed to
handle the volume you need.
> }
>
> // run second query to automatically dump unsubscribed email
> addresses.
> $query2 = "
> DELETE FROM
> mailinglist
> WHERE
> subscribe='0'
> AND
> confirmed='0' ";
>
> //run the query
> mysql_query($query2, $link) or die (mysql_error());
Dude, if I unsubscribed, get me off the list *BEFORE* you send out
another email, not after.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|