Problem sending with mail()

From: Date: Tue, 01 Aug 2000 22:40:01 +0000
Subject: Problem sending with mail()
Groups: php.general 
Request: Send a blank email to php-general+get-9591@lists.php.net to get a copy of this message
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@oih.rwth-aachen.de ____________________________________________________________________

« previous php.general (#9591) next »