[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mail prob
From: |
matthew hunter |
Subject: |
mail prob |
Date: |
Tue, 22 Oct 2002 20:23:14 +1300 |
im new to php...
when try to run this simple mail script
<html>
<body>
<?php
$to = "address@hidden";
$subject = "a Test";
$body = "this mail is sent with PHP ";
mail("$to", "$subject", "$body");
?>
</body>
</html>
i get
Warning: Failed to Connect in C:\apache\htdocs\mail.php on line 7
thats the mail(... line
can anyone help
cheers mat
_________________________________________________________________
Get a speedy connection with MSN Broadband. Join now!
http://resourcecenter.msn.com/access/plans/freeactivation.asp
- mail prob,
matthew hunter <=