note 35126 deleted from ref.mail by vincent

From: Date: Fri, 12 Sep 2003 07:01:38 +0000
Subject: note 35126 deleted from ref.mail by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56339@lists.php.net to get a copy of this message
Note Submitter: bub1slug at hotmail dot com ---- When using sendmail (or qmail I guess) and the mail() function, I found that I need to add the sendmail_path as: sendmail_path = "sendmail -t -i &" in PHP.INI note the trailing "&", this lets PHP try and send your mail asynchronously, which isn't required if the site your trying to contact is valid and is up, but if it's valid and down (i.e. no name server available currently) PHP will "hang" on the attempt for some period of time (minutes, or hours, I didn't have the patience to wait)

« previous php.notes (#56339) next »