Bug #14510 Updated: Unknown error in mail function

From: Date: Fri, 14 Dec 2001 15:58:01 +0000
Subject: Bug #14510 Updated: Unknown error in mail function
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73755@lists.php.net to get a copy of this message
ID: 14510 User updated by: davidfelton@codemasters.com Reported By: davidfelton@codemasters.com Old Status: Feedback Status: Open Bug Type: Unknown/Other Function Operating System: Windows 2000 Terminal, IIS5 PHP Version: 4.1.0 New Comment: Well it's pretty straight forward: $mailrecipient="davidfelton@codemasters.com"; $mailsubject="A message from your friend"; $mailmessage="Hello, this is an email sent with PHP"; $mailheaders="From: Dave <dave@davidfelton.co.uk>"; mail($mailrecipient,$mailsubject,$mailmessage,$mailheaders); Previous Comments: ------------------------------------------------------------------------ [2001-12-14 10:52:55] sander@php.net Can you provide a sample script? ------------------------------------------------------------------------ [2001-12-14 05:29:31] davidfelton@codemasters.com When using the mail function on windows 2000 with IIS5, it just returns 'unknown error' and exits. The mail function works fine on windows 98 with OmniHTTPd. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14510&edit=1

« previous php.dev (#73755) next »