I'm having a little trouble getting this to work... I have a flash form that I need to be emailed to me. So here's the code.
Flash: sendButton
on (release) {
if (subject eq "" or message eq "" or from eq "") {
stop();
} else {
lineAdapt();
loadVariablesNum("mail.php", 0, "POST");
gotoAndStop(2);
}
}
PHP: mail.php
<?php
mail("me@mydomain.com", $POST["subject"], $POST["message"], "From: PHPMailer\nReply-To: $_POST["from"]\nX-Mailer: PHP/" . phpversion());
?>
I'm concerned that maybe I dont have something set right on the server... mainly I'm just not sure. I can recieve email when using a simple mail(), and accessing it directly... but again, I'm not getting anything when using the above code. :bemused:
I'm running this from a dedicated server2003, IIS 6 with PHP 4.3.9 installed. Any help or insight would be greatly appreciated.