"
// Put it into Dreamweaver (WYSIWYG Editor), work on it and put it back.
$theForm = << Your Message (optional):
tags. echo('
Mail could not be sent to ' . $mailto . ' Please use your back button to try them again.
'); } } ?> '; } else { $headers = 'From: ' . $websiteName . '<' . $adminEmail . '>'; } if ($_POST['friend_email1'] != "") { $mailto1 = $_POST['friend_email1']; //This tacs the name onto the subject line $subject1 = $_POST['friend_name1'] . $subject; //This tacs the name onto the message $message1 = $_POST['friend_name1'] . "\r\n" . $_POST['message']; myMailFunction($mailto1, $subject1, $message1, $headers, $defaultMessageClose, $adminEmail, $notice); } if ($_POST['friend_email2'] != "") { $mailto2 = $_POST['friend_email2']; //This tacs the name onto the subject line $subject2 = $_POST['friend_name2'] . $subject; //This tacs the name onto the message $message2 = $_POST['friend_name2'] . "\r\n" . $_POST['message']; myMailFunction($mailto2, $subject2, $message2, $headers, $defaultMessageClose, $adminEmail, $notice); } if ($_POST['friend_email3'] != "") { $mailto3 = $_POST['friend_email3']; //This tacs the name onto the subject line $subject3 = $_POST['friend_name3'] . $subject; //This tacs the name onto the message $message3 = $_POST['friend_name3'] . "\r\n" . $_POST['message']; myMailFunction($mailto3, $subject3, $message3, $headers, $defaultMessageClose, $adminEmail, $notice); } $return = <<