f your hosting supports php that would be the way to go. Here is an simple mailer script that you can use. Just open notepad and past the code in and save as "Mail.php" or what ever you want to call it with .php at the end.
PHP Code:
<?php
$email = "yourEmail@yahoo.com";
$subject = "New Contact";
$message = $_POST['fla_message'];
mail($email, $subject, $message, "From: $email");
echo "Message Sent - Please allow up to 24 hours before you here from us. ServerAdmin";
?>
To call the script use
PHP Code:
//submit button
on(release,keyPress "<Enter>"){
// Checks if fields are blank
if(myname.length < 1 ||
myemail.length < 1 ||
mymessage.length < 1){
break;
}else{
// If fields are not blank then submit
message_from = "--------------------------------------"+newline+
"Name: "+myname.text+newline+
"Email : "+myemail.text+newline+
"Message : "+mymessage.text+newline+
"--------------------------------------"
// Create an empty MC to hold data
this.createEmptyMovieClip("x", 1);
x.fla_message = message_from;
x.getURL("mail.php", "_blank", "POST");
// clear all fields
myname.text = ""
myemail.text = ""
mymessage.text = ""
}
}