From: [EMAIL PROTECTED] Operating system: Windows XP PHP version: 4.1.1 PHP Bug Type: Mail related Bug description: Mail Function not working
Get the following error message: Warning: Server Error in c:\inetpub\wwwroot\David\send_simpleform.php on line 15 Referred to code: 1 <?php 2 3 $msg = "E-MAIL SENT FROM WWW SITE\n"; 4 $msg .= "Sender's Name:\t$sender_name\n"; 5 $msg .= "Sender's E-Mail:\t$sender_email\n"; 6 $msg .= "Message:\t$message\n\n"; 7 8 $to = "[EMAIL PROTECTED]"; 9 10 $subject = "Web Site Feedback"; 11 12 $mailheaders = "From: My Web Site <> \n"; 13 $mailheaders .= "Reply-To: $sender_email\n\n"; 14 15 mail($to, $subject, $msg, $mailheaders); ?> my php.ini mail settings are as follows: [mail function] SMTP = localhost ;for win32 only sendmail_from = [EMAIL PROTECTED] ;for win32 only ;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i'). I found a possible solution on ticket number 6742 but didn't understand the cure (the simpler the description the better). -- Edit bug report at: http://bugs.php.net/?id=14900&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]