[PHP] Problem sending with mail() From: Alexander Dohmen (alex <email protected>)
Date: 08/01/00

Does anybody know why i can not send mail via the mail() function?
I'm using PHP 3.0.15 and qmail on my linux box. Is there a problem with
qmail and PHP? I also tried the following with no result:

        $MP = "/usr/lib/sendmail -t";
        $fd = popen(MP,"w");
        fputs($fd, "To: $EMAIL\n");
        fputs($fd, "From: $FROM\n");
        fputs($fd, "Subject: $subject\n");
        fputs($fd, "Reply-To: $REPLYTO\n");
        fputs($fd, "X-Mailer: PHP\n\n");
        fputs($fd, $body);
        pclose($fd);

So can anybody tell me, what's going wrong?

-- 
____________________________________________________________________
Alexander Dohmen                      mailto:alex <email protected>
____________________________________________________________________

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>