I'm trying to use the SendMailPHP file to send an E-Mail to me of a completed SWF form. I've created the form with four textfields and one TextMsg field. The SendMailPHP file was created with two textfields. I added two entries in the snowMailPHP file to compensate the additional fields. I copied the files ( Form.swf and snowMailphp.php )up to my web server (Linux) and tried to test the swf file. The file came up fine; I entered data into all the fields and clicked the submit button. I'm still waiting on the E-mail.
If you need the swf file please let me know.
$ToEmail = "Support@LandLNetworking.com
##$ToName = "Support";
$ToSubject = "Support for L&L Networking";
$EmailBody = "Sent By: $Name\nSenders Email: $Email\nSenders Company: $Company\n\nMessage Sent:\n$Message\n\nSender $Message\n";
$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.landlnetworking.com
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$Name." <".$Email.">");
Print "_root.Mail.EmailStatus=Complete - Your Email has been sent";