note 104054 added to function.mail

From: Date: Thu, 19 May 2011 21:49:54 +0000
Subject: note 104054 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-179891@lists.php.net to get a copy of this message
If using sendmail as transport agent, setting the "DeliveryMode" to "background" (asynchronous) instead of the default "interactive" (synchronous) makes mail() a lot faster, while still sending immediately. You can either use the "additional parameters", e.g. mail($to, $subject, $message, $headers, 'O DeliveryMode=b'), or make this mode default by changing php.ini's "sendmail_path" to 'sendmail -t -i -O DeliveryMode=b'. ---- Server IP: 69.147.83.197 Probable Submitter: 46.142.63.224 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/104054 Del: integrated -- https://master.php.net/note/delete/104054/integrated Del: useless -- https://master.php.net/note/delete/104054/useless Del: bad code -- https://master.php.net/note/delete/104054/bad+code Del: spam -- https://master.php.net/note/delete/104054/spam Del: non-english -- https://master.php.net/note/delete/104054/non-english Del: in docs -- https://master.php.net/note/delete/104054/in+docs Del: other reasons-- https://master.php.net/note/delete/104054 Reject -- https://master.php.net/note/reject/104054 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179891) next »