Dear David,

You're going to have 2 problems:

(1) You're going to overload the outgoing mail server. I've done it. Now i 
use a newsletter-type mailing list.

(2) Invalid e-mail addresses will be returned to your hosting provider, not 
to the  "From: ..."address.  I'm looking for an answer to this now.

Here's the code I use for 1 e-mail.

<?php

set_time_limit(300);

... connect, select db, etc. ...

$message="Dear consumer,\n
...\n
Thanks!\n
SBW Research
(www.sbwresearch.com)
";

mail("$e_mail",
      "Thanks!",
      "$message",
      "From:SBW Research <[EMAIL PROTECTED]>\n");
@mysql_close($connection);
header ("location:add_5.htm");
flush();
exit;
?>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to