Re: Background process (sending mails)
| From: | Pupeno | Date: | Sun, 25 Aug 2002 02:33:55 +0000 |
| Subject: | Re: Background process (sending mails) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114021@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
> You don't need to modify sendmail's config, you simply need to modify how
> you are calling sendmail from PHP. Chances are the server you are on
> already flushes the queue occasionally. You'd need to try to figure out
> how often, perhaps simply by trial and error.
>
> Since you have no control over the php.ini file, and you can't set this
> particular ini directive using ini_set(), you will have to call sendmail
> manually using system(). You don't need to put it into the background
> since you will just be telling sendmail to queue by passing the correct
> flags to it, so it should be straightforward.
I'm using PHPMailer, so, if it is just a parameter, I can just modify the
sendmail configuration for PHPMailer, do you know which parameter it is ? I
checked the documentation and I couldn't find it.
Thanks.
--
Pupeno: pupeno@pupeno.com
http://www.pupeno.com
---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar