Re: going to try one more time about mail problems

From: Date: Thu, 01 Jun 2000 15:21:51 +0000
Subject: Re: going to try one more time about mail problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-815@lists.php.net to get a copy of this message
>>> 1) Yes, the sendmail_path in php.ini has been properly setup. >> >> What exactly is it set to? Check your phpinfo() output. > > /usr/lib/sendmail No '-t'? Try setting it to '/usr/lib/sendmail -t' like the popen() in your second example. e.g: $MP = "/usr/lib/sendmail -t "; Here's what the man page has to say about the '-t' option. "... -t Read message for recipients. To:, Cc:, and Bcc: lines will be scanned for recipient addresses. The Bcc: line will be deleted before transmission. ..." BTW, both you original code snippets work on my machine - if the above doesn't work then I suggest looking at your sendmail config and whether you're getting a mail loop. Andrew

« previous php.general (#815) next »