ID: 14510
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Windows 2000 Terminal, IIS5
PHP Version: 4.1.0
New Comment:

What are your INI-settings about mail? I.e., your smtp-server, etc...

Previous Comments:
------------------------------------------------------------------------

[2001-12-14 10:58:01] [EMAIL PROTECTED]

Well it's pretty straight forward:

$mailrecipient="[EMAIL PROTECTED]";
$mailsubject="A message from your friend";
$mailmessage="Hello, this is an email sent with PHP";
$mailheaders="From: Dave <[EMAIL PROTECTED]>";

mail($mailrecipient,$mailsubject,$mailmessage,$mailheaders);

------------------------------------------------------------------------

[2001-12-14 10:52:55] [EMAIL PROTECTED]

Can you provide a sample script?

------------------------------------------------------------------------

[2001-12-14 05:29:31] [EMAIL PROTECTED]

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


-- 
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]

Reply via email to