nombre Posted February 13, 2009 Share Posted February 13, 2009 Hi I bought a tutorial for a website, that has a contact form to fill in, and I have problems with the mailPHP file: in my personal email received from filling in the contact form of my website, does not display any information I have written in the contact form. The sequence looks like this : <? //name = _namex //email = _emailx //phone = _phonex //comments = _commx $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: Sh Faisal' . "\r\n" .'Reply-To: [email protected]' . "\r\n"; $ToEmail = "[email protected]"; $ToName = "My Name"; $ToSubject = "New email"; $EmailBody = "<table width='716' height='207' border='1' bgcolor='#090909'> <tr> <td><font size='2' face='Arial' color='#999999'>Sent By: $_namex \nSenders Email: $_emailx\n Message Sent:\n$_commx</font></td> </tr> </table>"; $EmailFooter="\nThis message was sent by: $_namex from $REMOTE_ADDR "; $Message = $EmailBody.$EmailFooter; mail($ToName." <".$ToEmail.">",$ToSubject, $Message, $headers); Print "_root.Status=success"; ?> (I attached the image of what I received in my email, in case that would be usefull ) If you could help me I do thank you very much [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/145065-help-with-a-mailphp-file-pls/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.