MoleDirect
Technical User
The FLA can be found at:
I am trying to have it send an email after a chat is finished using a blue button... to the right of the chat..
To use the program... it is full screen, use the little dot at the bottom of the first screen, that will take you to screen 2, put in a name, then hit continue (or enter), in the last page is the chat script, it only responds to HI and Bye right now but that will change soon, then the blue button on the right side of that chat should send an email to my email, but its not sending...
I am hoping to send the chat script (contents of the dynamic text box, or the off screen box) to the email in HTML format.
I have included the code to the PHP script (which as been tested and working using another flash program on my computer..)
I am trying to have it send an email after a chat is finished using a blue button... to the right of the chat..
To use the program... it is full screen, use the little dot at the bottom of the first screen, that will take you to screen 2, put in a name, then hit continue (or enter), in the last page is the chat script, it only responds to HI and Bye right now but that will change soon, then the blue button on the right side of that chat should send an email to my email, but its not sending...
I am hoping to send the chat script (contents of the dynamic text box, or the off screen box) to the email in HTML format.
I have included the code to the PHP script (which as been tested and working using another flash program on my computer..)
Code:
Processor Page
<?php
$sendTo = "mikekovacic@gmail.com";
$subject = "My Flash site reply";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>