SMTP error

Status
Not open for further replies.

amr123

Beta member
Messages
4
i got a basic php script for mailing form data but it still isn't working.
This is the script:
<?
$name = $_REQUEST['name'] ;
$age = $_REQUEST['age'] ;
mail( "ammar_reza@hotmail.com", "Feedback Form Results", $age, "From: $name" );
?>
And this is the error:
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for ammar_reza@hotmail.com in c:\Inetpub\wwwroot\action.php on line 4

Can anyone give any suggestion what i should do to make it work?
 
Status
Not open for further replies.
Back
Top Bottom