Bug #14510 Updated: Unknown error in mail function

From: Date: Tue, 05 Mar 2002 14:13:08 +0000
Subject: Bug #14510 Updated: Unknown error in mail function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1685@lists.php.net to get a copy of this message
ID: 14510 Updated by: ibasevitch@homtail.com Reported By: davidfelton@codemasters.com Status: Open Bug Type: Mail related Operating System: Windows 2000 Terminal, IIS5 PHP Version: 4.1.0 New Comment: i have the same problme with win nt 4.0 terminal edition. did you find a solution...? it seems like it can't find the ini file. thanks Previous Comments: ------------------------------------------------------------------------ [2001-12-18 04:23:01] davidfelton@codemasters.com So, any other ideas? ------------------------------------------------------------------------ [2001-12-17 04:20:17] davidfelton@codemasters.com smtp server is set to be localhost, which works fine with php 4.0.6 ------------------------------------------------------------------------ [2001-12-14 12:19:09] sander@php.net What are your INI-settings about mail? I.e., your smtp-server, etc... ------------------------------------------------------------------------ [2001-12-14 10:58:01] davidfelton@codemasters.com 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); ------------------------------------------------------------------------ [2001-12-14 10:52:55] sander@php.net Can you provide a sample script? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14510 -- Edit this bug report at http://bugs.php.net/?id=14510&edit=1

« previous php.bugs (#1685) next »