Hello,
On 11/15/2004 05:52 AM, Chris W wrote:
I have a PHP script to send an email that I know is correct. Ever since I installed SUSE 9.1I get a no recipient error from postfix. I know others have had this problem but after an extensive search I can find no solution. As of yet no one seems to know, or is not willing to tell how to fix this config problem that SUSE screwed up when they released 9.1. I have also heard it is still a problem in 9.2 as well. So here is some incentive, I will send $25 via paypal to the first person who can tell me how to fix this. BTW using some other mail function that isn't part of the core PHP isn't a solution.
If you want to see the error on your own SUSE 9.1 install just run the PHP test mail program and look at the mail logs.
<?php $message = "This is a Test Message "; mail('[EMAIL PROTECTED]', "test message", $message); ?>
I already suggested that it may be a problem in your PHP configuration. However, since you did not show your php.ini file it is hard to help without further cooperation from you.
I also suggested that you try this class that comes with a wrapper function named sendmail_mail(). It emulates mail() function except that it sends the message directly to Postfix sendmail emulation wrapper. I know that you do not want to use anything that isn't part of the core PHP, but at least trying this class you will be able to tell whether it is a PHP problem or a Postfix problem depending on whether the class function works or not.
BTW, keep your change, but if you want help, you need to help us helping you.
--
Regards, Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php