This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ?> email)) { $from=cleanify($_POST['from'])." <".cleanify($_POST['fromemail']).">"; $extra="Return-Path: $from\r\nFrom: $from\r\nReply-To: $from\r\n"; //make sure they dont do anything funky with the subject header $subject=cleanify($_POST['subject']); //and strip the slashes from the message $message=stripslashes($_POST['message']); mail("$r->firstname $r->lastname <$r->email>",$subject,$message,$extra); echo happy(i18n("Contact email successfully sent")); } else { //this should never happen unless a spammer us auto-submitting stuff and it doesnt match. echo error(i18n("Invalid email address")); } } else echo error(i18n("Please enter a valid email address")); } else echo error(i18n("All fields are required")); } ?> "; echo "
"; echo "
\n"; echo "\n"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
".i18n("To").":
".i18n("Your Name").":
".i18n("Your Email Address").":
".i18n("Subject").":
".i18n("Message").":
"; echo "
"; send_footer(); ?>