Help!

HELP! Trying to add a simple contact form on my site, and am having trouble getting the contact.php to forward the emails to me! It appears to be somewhat working, but I’m frustrated that I cannot figure out how to get my test messages sent to me!

my test site: http://www.kelseykreative.com/contact.html
the code I am using on my ‘contact.php’ page: http://www.kelseykreative.com/code.html
the PHP test I ran on my site: http://www.kelseykreative.com/test.php

I do not want to complicate the form by adding CAPTCHA or other verifications/validations. Just a simple solution. Thanks, in advance… Tina

Please post your code here in the code tags and I will try to help ::slight_smile:

[php]

<?php // The message $message = "Line 1\nLine 2\nLine 3"; // Send if(mail('[email protected]', 'My Subject', $message)) echo "sent"; else echo "fail"; ?>

[/php]
This is how to mail. Hope this helps 8)

try to put headers :
[php]
$headers = ‘MIME-Version: 1.0’ . “\r\n”;
$headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”;
$headers .= ‘From: AAAAA [email protected]’ . “\r\n”;

mail(‘[email protected]’, ‘My Subject’, $message, $headers)[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service