On the form when you enter your email it says somethings not right
Printable View
On the form when you enter your email it says somethings not right
Screenshot?
image is below
http://i47.tinypic.com/11lht08.jpg
Oh that's on the Javascript. I don't know JS so I can't help you with that.
Is there no way i can work around without javascript?
post the submit bit of the source on that page
If the emails won't send, you should check with your host to see if there are any restrictions in place (ie. to prevent spam).
I've tried another method as stated and its still not working look;
Code:</ul>
<form method="POST"> <p>
<input type="text" name="email" id="email" value="Please enter your e-mail address here to apply for beta!"/>
</p>
<p>
<input type="submit" name="submit" id="submit" value="" />
</p>
</form>
</div>
</div>
</div>
<?php
isset($_POST["email"])
$email = $_POST["email"];
$error = "";
}
if($email == "") {
$error .= "<li>You did not enter your email address!</li>";
}
if($email != "" && !preg_match('/^[^\x00-\x20()<>@,;:\\".[\]\x7f-\xff]+(?:\.[^\x00-\x20()<>@,;:\\".[\]\x7f-\xff]+)*\@[^\x00-\x20()<>@,;:\\".[\]\x7f-\xff]+(?:\.[^\x00-\x20()<>@,;:\\".[\]\x7f-\xff]+)+$/i', $email)) {
$error .= "<li>You did not enter a valid email address!</li>";
}
if($error != "") {
$errormessage = "<p>Your message wasn't sent because:<ul>";
$errormessage .= "$error";
$errormessage .= "</ul></p>";
echo $errormessage;
} else {
mail("[email protected]","Contact Us Message", $message, "From: ".$name." <".$email.">");
echo("<p>Message sent successfully!</p>");
exit();
}
}
?>
Paste this into test.php and go to it. If you don't get an email then there's a problem with either your host or the address you're trying to receive mail on:
http://smstopaypal.com/test.php
The email came through :)Quote:
Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Tue, 06 Jul 2010 23:58:56 +0100
Received: from smstopay by cosmic.sawhosting.com with local (Exim 4.69)
(envelope-from <[email protected]>)
id 1OWH6N-00013L-Vl
for [email protected]; Tue, 06 Jul 2010 23:58:55 +0100
To: [email protected]
Subject: test
Message-Id: <[email protected]>
From: [email protected]
Date: Tue, 06 Jul 2010 23:58:55 +0100
So looks like the codings wrong on this submit email thing HMM