mail didn't work out
| From: | N. Sagar Chand | Date: | Mon, 16 Oct 2000 18:38:44 +0000 |
| Subject: | mail didn't work out | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20414@lists.php.net to get a copy of this message | ||
Hi,
I have written the following code
<?
$title = 'sagar';
$msg = 'Name: '.$name."\n";
$msg .= 'Age: '.$age."\n";
$msg .= 'Suggestions: '."\n".$msg."\n";
$msg .= 'Mail ID: '.$id."\n";
mail('sagarchand@chandu.com',$title,$msg,'From: sagar<name@sagar.net>');
?>
i am running php4 on win95 with pws
i am gettin an error saying
Warning: Failed to Connect in C:\Inetpub\wwwroot\php\mail.php on line 19
how to ?