On Sun, 16 Feb 2003 01:05:58 -0300, Manuel Lemos <[EMAIL PROTECTED]> wrote:
Hello, On 02/16/2003 12:15 AM, Brendon wrote:I've been trying to fork sendmail because DNS checks cause it to be slow delivering messages...You are duplicating a function that sendmail already provides given the right switches. Anyway, if you want to raise the message delivery throughput, the best you can do is to use the deferred mode so it does not take a long time to queue the messages and then sendmail will take care of the delivery next time it runs the queue.
Here's what i've tried, and many other variations...
$str = "to: [EMAIL PROTECTED]\nfrom: [EMAIL PROTECTED]\nsubject: test";
exec('sendmail -i -t $str >& /dev/null&');
Has anyone successfully acomplished something like this? ideas?
In that case you may want to look at this class for composing and sending messages that comes with sub-class to deliver with sendmail program directly. It comes with options to let you choose the appropriate sendmail delivery mode:
http://www.phpclasses.org/mimemessage
Thanks for that. I'll look at it and see if I can modify it for my needs.
The problem isn't sendmail priority. The system isn't doing anything and sendmail isn't doing anything. The problem is that it takes sendmail awhile for it to respond. No. sendmail isn't broke, it just has to do a lot of thinking before it talks to a client. I want to remove that problem from the equation by puting sendmail in the background once its called.
Brendon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php