I'm new to the forum and I have been trying to find a thread that could be helpful but nothing have been working out so far.
I recently uploaded my site via FTP, and it works fine. Except for one thing, my contact form. The contact form is crucial and it is almost the whole point of the website.
I don't get any
emails "from the form", either in my spam-folder or inbox.
Please have a look at the website which is:
http://www.adspot.se
The contact form is situated on:
http://www.adspot.se/contact.html
The php script looks like this:
<?php
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
{
//send email
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail("
[email protected]", $name,
$message, "From:" . $email);
}
?>
I've already tried different types of php-scripts, but it still doesn't seem to work.
UPDATE:
Changed the form code to:
<form method="POST" action="email.php">
<div class="row half">
<div class="6u">
<input name="name" placeholder="Name" type="text" class="text" />
</div>
<div class="6u">
<input name="email" placeholder="Email" type="text" class="text" />
</div>
</div>
<div class="row half">
<div class="12u">
<textarea name="message" placeholder="Message"></textarea>
</div>
</div>
<div class="row half">
<div class="12u">
<ul class="action">
<input type="submit" class="action">
</ul>
</div>
</div>
</form>
Now it redirects me to www.adspot.se/email.php but still no
emails received...