slow mail()
| From: | Marko | Date: | Fri, 13 Jun 2003 13:19:12 +0000 |
| Subject: | slow mail() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151354@lists.php.net to get a copy of this message | ||
Hi all,
Sending multiple emails using PHP - as BCC or multiple mail() commands -
takes quite long; usually over 50 seconds for 10 addresses.
While sending these messages the browser won't show anything else but a
blank page, which is not a very exciting internetexperience for people using
my mailing-application.
I've been using exactly the same code on some other boxes without any
extreme delays.
The box is running Sendmail 8.12.9, PHP 4.3.1 on FreeBSD 4.8.
Any help greatly appreciated!
The maillog says:
Jun 12 19:25:20 pippi sendmail[95211]: h5CHPKZu095211: from=nobody,
size=56, class=0, nrcpts=1,
msgid=<200306121725.h5CHPKZu095211@pippi.half2.nl>, relay=nobody@localhost
Jun 12 19:25:30 pippi sendmail[95212]: h5CHPP6h095212:
from=<nobody@pippi.half2.nl>, size=293, class=0, nrcpts=1,
msgid=<200306121725.h5CHPKZu095211@pippi.half2.nl>, proto=ESMTP, daemon=MTA,
relay=localhost [127.0.0.1]
Jun 12 19:25:30 pippi sendmail[95212]: h5CHPP6h095212: to=<marko@dsv.nl>,
delay=00:00:00, mailer=esmtp, pri=30289, stat=queued
Jun 12 19:25:30 pippi sendmail[95211]: h5CHPKZu095211: to=marko@dsv.nl,
ctladdr=nobody (65534/65534), delay=00:00:10, xdelay=00:00:10, mailer=relay,
pri=30052, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(h5CHPP6h095212 Message accepted for delivery)