Re: can I mail unlimited in one click?
| From: | achillex | Date: | Wed, 18 Dec 2002 13:41:38 +0000 |
| Subject: | Re: can I mail unlimited in one click? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128708@lists.php.net to get a copy of this message | ||
jan@lillemanshus.com (Jan GrafströM) wrote in
news:20021216213423.4208.qmail@pb1.pair.com:
> Hi,
>
> I wonder if I can mail 300 customers in one click?
>
> part of script:
>
> while($listrow = mysql_fetch_array($listresult)) {
>
> $recipient = $listrow[epost];
> $subject = "$subj";
> $message = "$mess";
> $headers .= "From: $admail\n";
> $headers .= "Reply-To: $admail\n";
> $headers .= "X-Mailer: PHP\n";
> mail($recipient, $subject, $message, $headers);
> }
>
> or is there a limit?
>
> Thanks for any help
> Jan Grafstrom
>
>
take a look at
set_time_limit (0);