Re: [PHP-WIN] windows mail problem

2004-05-24 Thread Andy Tawse
fwrite($fp,"To: <$mailto>\r\n"); fwrite($fp,"Subject: $subject\r\n"); fwrite($fp,"\r\n"); fwrite($fp,"$text\r\n\r\n"); fclose($fp); } hope that helps. -Original Message----- From: Andy Tawse [mailto:[EMAIL PROTECTED]

RE: [PHP-WIN] windows mail problem

2004-05-24 Thread David Felton
uot;); fwrite($fp,"Subject: $subject\r\n"); fwrite($fp,"\r\n"); fwrite($fp,"$text\r\n\r\n"); fclose($fp); } hope that helps. -Original Message----- From: Andy Tawse [mailto:[EMAIL PROTECTED] Sent: 24 May 2004 10:14 To: [EMAIL PROTE

[PHP-WIN] windows mail problem

2004-05-24 Thread Andy Tawse
Hi there, I've been having difficulty sending emails from Windows machines. I've seen this problem in a few places before but I can't seem to fix it on my machine. When I try to use mail() I get : mail(): "sendmail_from" not set in php.ini or custom "From:" header missing The code I'm using is :