Anyone know a solution? I tried using the following PHP and it will not send the email through the flash 8 contact form i have set-up…
<?php
/* ---------------------------
php and flash contact form.
by www.MacromediaHelp.com
---------------------------
Note: most servers require that one of the emails (sender or receiver) to be an email hosted by same server,
so make sure your email (on last line of this file) is one hosted on same server.
--------------------------- */
// read the variables form the string, (this is not needed with some servers).
$subject = $_REQUEST["subject"];
$message = $_REQUEST["message"];
$sender = $_REQUEST["sender"];
// include sender IP in the message.
$full_message = $_REQUEST["phone"]. "
" . $message;
$message= $full_message;
// remove the backslashes that normally appears when entering " or '
$message = stripslashes($message);
$subject = stripslashes($subject);
$sender = stripslashes($sender);
// add a prefix in the subject line so that you know the email was sent by online form
$subject = "Contact form ". $subject;
// send the email, make sure you replace email@yourserver.com with your email address
if(isset($message) and isset($subject) and isset($sender)){
mail("keri@eventsbykeri.com", $subject, $message, "From: $sender");
}
?>
This is what the server/host company said…
“The only Form-mailer through ASP hosting that we currently support is GDFORM.ASP. You may also construct form handlers using the CDONTS and CDOSYS functionality to relay mail from the hosting environment.”
Thanks so much you guys!!