a_wil72 wrote:
> Wade,
> Thanks for the prompt response. This is the php script that I am 
> using:
> <?php
> 
> $sendTo = "[EMAIL PROTECTED]";
> $subject = "Info from Game Website.";
> 
> $ip = $_SERVER['REMOTE_ADDR']; 
> $name = $_GET['Name'];
> $email = $_GET['Email'];
> $comments = $_GET['Comments'];
> $from = "Reply-To: " . $name . "<" . $email . ">/n"; 
> $headers = 'Content-type: text/html; charset=iso-8859-1';
> $comments ="\r\n\n\n"  . "Sender's ip address is " . nl2br($ip);
> mail($sendTo, $subject, $comments, $from);
> 
> ?>
> 
> 
> <html>
> <body bgcolor="#282E2C">
> <div align="center" style="margintop:
> 60px;color:#FFFFFF;font-size:12px;font-family:Tahoma;fontweight:
> bold">
> Your message was sent. Thank you.
> </div>
> </body>
> </html>
> <script>resizeTo(300, 300)</script>
> 
> When a visitor hits the send button on my contact form, they recieve 
> the "your message was sent, thank you" screen, but the only 
> information I recieve in my inbox is the senders ip address. No name 
> or email address or the body of the message. Hope this helps
> 
> Ashley Wilson

20080809 2039 GMT-6

Ashley, can you post your code for the mail page?

Wade

Reply via email to