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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 = [EMAIL PROTECTED]
>
> 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


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to