Date: 08/01/00
- Next message: Simon Biela: "[PHP] Unknown errormessage"
- Previous message: Steve Edberg: "RE: [PHP] Example needed"
- Next in thread: r a n d y: "Re: [PHP] Problem sending with mail()"
- Reply: r a n d y: "Re: [PHP] Problem sending with mail()"
- Reply: Mulga Web Services: "Re: [PHP] Problem sending with mail()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Simon Biela: "[PHP] Unknown errormessage"
- Previous message: Steve Edberg: "RE: [PHP] Example needed"
- Next in thread: r a n d y: "Re: [PHP] Problem sending with mail()"
- Reply: r a n d y: "Re: [PHP] Problem sending with mail()"
- Reply: Mulga Web Services: "Re: [PHP] Problem sending with mail()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

