Flash mail form / sendmail.php

hi guys,

i’m trying to use the mail form component from Shinstudio .

i’m using a sendmail.php script like this one:


<?php 
$ToEmail = "username@mydomain.com"; 
$ToName = ""; 
#$ToName = "myname"; 
$Name = $_POST['Name']; 
$Email = $_POST['Email']; 
$Message = $_POST['Message']; 
$EmailBody = "Sent By: $Name
Senders Email: $Email
Senders Message: $Message

Message; 
$EmailFooter="nThis message was sent by: $Name from $REMOTE_ADDR If you feel that you recieved this e-mail by accident please contact us at www.ellusign.com"; 
$Message = $EmailBody.$EmailFooter; 
mail($ToName." <".$ToEmail.">",$Subject, $Message, "From: ".$Name." <".$Email.">"); 

Print "_root.Mail.EmailStatus=Complete - Your mail has been sent"; 
?>

i put the sendmail.php script on the same root of the swf file, but things are not workin…

can anyone help me with this problem? :h:

[color=darkorange]note: i’m very dummie with AS and PHP[/color]