$msg = "" ; $post = isset($_POST['Action']); if ( $post == "Send to a Friend" ) { $email = $_POST['Email'] ; $from = $_POST['Name'] ; $femail = $_POST['FEmail'] ; $ffrom = $_POST['FName'] ; $comments = $_POST['Comments']; $message = "Click the link below to watch the photo slide show:\n http://www.wilkinsonbrothers.com/HOWDY/features/oldsmodesk\n From: $from\n Email: $email\n Comments: $comments" ; mail( $femail, "The Wilkinson Brothers Oldsmodesk", $message, "From: $email" ) ; mail( "corey@wilkinsonbrothers.com", "The Wilkinson Brothers Oldsmodesk", $message, "From: $email" ) ; $msg = "Congratulations your email has been sent" ; } ?>