Re: mail function is not working

From: Date: Thu, 03 Apr 2003 20:28:39 +0000
Subject: Re: mail function is not working
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10493@lists.php.net to get a copy of this message
Dorian, it could be your 'sendmail from' line in there. Sometimes sendmail will reject sending emails from invalid from addresses. Make it a real address on your server and make sure apache is allowed to send from that address (its in the trusted-users) file of your /etc/mail folder. I'm willing to bet its sendmail rejecting the message to being sent. -Mike ----- Original Message ----- From: "Dorian Szekely" <szekely@factory12.de> To: <php-install@lists.php.net> Sent: Thursday, April 03, 2003 2:42 PM Subject: [PHP-INST] mail function is not working > Hi all, > > i installed PHP 4.3.1 on a fresh Apache 2.0.44 on Suse Linux 7.3 > > after configuration of the php.ini: > > sendmail_path = /usr/sbin/sendmal -t > sendmail_from = abc@test.com > > i started to write a simple script to test the mail() function, but nothing > happens - no error message > the returncode of the function is FALSE. > > > what could be the reason for this? > > how do i get an error message why its not working? > > greetings > > Dorian > > PS: Apache and PHP is compiled and installed on Suse Linux 7.2 > sendmail is working normaly > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#10493) next »