Hi,
// EMAIL FUNCTION
function send_mail($recipient, $subject, $email, $content) {
if (!$mu) {
mail($recipient, $subject, $content, "From: $email\n"

;
}
}
This uses an external file as a template for the autoresponder allowing variables to be read from the template file.
$recipient = etc.
$mail_en = file("mail_en.php"

;
$mail_en = join("", $mail_en);
eval("\$content_en =\"$mail_en\";"

;
$subject = "Your subject";
send_mail($email, stripslashes($subject), $recipient, stripslashes($content_en));
Gary