My name is Nicole, and I am a newbie to Flash. I created my first website just recently, and I used Jesse Stratford's extremely helpful tutorial for use on my "Contact Me" page. It all seemed to be working correctly, however I noticed that my test messeges have not been going through to my e-mail address. I made sure that my e-mail address was on the same server as my website, but it doesn't seem to be working. Any ideas? Any advice you would be welcome and appriciated.
------------------------------
Here is my actionscript:
stop();
function lineAdapt() {
message_send = message;
while (msg_count<length(message)) {
msg_count = msg_count+1;
if ((substring(message_send, msg_count, 2)) eq "\r") {
message_send = (substring(message_send, 1, msg_count-2)) add "\n" add (substring(message_send, msg_count+2, (length(message_send))-msg_count+2));
}
}
message = message_send;
delete msg_count;
delete message_send;
}
-------------------------------------
And for the Submit button:
on (release) {
if (subject eq "" or message eq "" or from eq "") {
stop();
} else {
lineAdapt();
loadVariablesNum("mail.php3", 0, "POST");
gotoAndStop(2);
}
}
-------------------------------------
And my PHP code:
<?php
mail("[email protected]", $_GET["subject"], $_GET["message"], "From: PHPMailer
Reply-To: $_GET["from"]
X-Mailer: PHP/" . phpversion());
?>
---------------------------------------
I looked at a previous thread about this issue, and was unable to fix my problem. I also saw Atomic's tutorial located at:
http://tutorials.flashvacuum.com/ind...?show=Email101
However, I am new to all this and that tutorial was hard for me to understand. Thank you for your help, everyone.