I have a mail.php code listed below. Can anyone find / see the prob.
<?
$ToEmail = “klint@email.dk”;
##$ToName = “Hammers”;
$ToSubject = “Email fra website”;
$EmailBody = "send from: $Firma
Adresse: $Adresse
Zip: $Zip
City: $City
Email: $Email
Message:$Message
";
$Message = $EmailBody;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, “From: “.$Firma.” <”.$Email.">");
Print “_root.Mail.EmailStatus=Email was send”;
?>
My flash send bottom does:
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
Status = “Email adress missing”;
} else if (!Firma.length) {
Status = “Company name missing”;
} else if (!Message.length) {
Status = “Phone number missing”;
} else {
loadVariablesNum(“http://www.spinmedia.dk/hammers/mail.php”, “0”, “POST”);
Status = “Thank you…”;