PHP, sendmail, and mail() - VERY SLOW - please help
- From: "IamtheEvster" <evan.lavidor@xxxxxxxxx>
- Date: 18 May 2006 19:25:56 -0700
I'm working with a LAMP platform - PHP 5.1.4, MySQL 5.0.21, RedHat
Enterprise 4... Running Sendmail 8.x.
I'm using the PHP mail() function to send some confirmation emails out
when a user submits a form. My understanding is that this is basically
a wrapper for sendmail (specifically, sendmail -t -i).
In my development environment, this works great. Everything is fast
and wonderful.
In my production environment, it takes 10-15 seconds or more before the
mail() function completes. If I comment out that function, the page is
nice and quick again.
Does anyone have any ideas of what sort of configuration issue this
might be (I'm assuming this is a config issue). My sendmail config
(/etc/sysconfig/sendmail) is pretty simple right now, it's just
specifying DAEMON=yes and QUEUE=1m.
Any advice would be much appreciated. Thanks in advance.
Evan
.
- Follow-Ups:
- Re: PHP, sendmail, and mail() - VERY SLOW - please help
- From: ctclibby
- Re: PHP, sendmail, and mail() - VERY SLOW - please help
- Prev by Date: Re: php smarty example
- Next by Date: Working site transfered to new web host & now does not work...
- Previous by thread: Need tool to Modifie Template in Design view or run time
- Next by thread: Re: PHP, sendmail, and mail() - VERY SLOW - please help
- Index(es):