Hi, my problem is Im trying to set up a page where you can send your email addy to a destination email addy.
It works fine when I put my own addy as the destination (info@aardesign.co.uk)
But it doesnt work when I test it on other addys.
This my HTML
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” />
<title>lime_home</title>
<link href=“limestylesheet.css” rel=“stylesheet” type=“text/css” media=“screen” />
</head>
<body>
<div id=“background”>
<div id=“peel”><img src=“grain.png” width=“800” height=“500” border=“0” /></div>
<div id=“fresh”><img src=“fresh.png” alt=“logo” width=“570” height=“150” border=“0”/></div>
<div id=“soon”><img src=“comingsoon.png” width=“500” height=“100” border=“0”/></div>
<div id=“emailtext”>Submit your email to be notified when we go live</div>
<div id=“bar”><img src=“middlebar.png” width=“1000” height=“68” border=“0”/></div>
<div id=“emailsend”>
<form action=“feedback.php” method="post"enctype=“multipart/form-data”>
<input type=“text” name=“comments” size=“50”>
<input type=“submit” class=“submitButton” value=“Submit” />
</p>
</form>
</div>
<div id=“maintext”>Lime4 is a fresh company providing clear thinking and high quality expertise in project management and the development of
sustainable solutions. Whether through project development, production of business cases and feasibilities, or more specifically
related to the blossoming green and environmental sector.</div>
<div id=“limelogo”><img src=“limelogo.png” width=“170” height=“135” border=“0”/></div>
<div id=“address”>Studio B, Derwentside Business Centre, Consett Business Park Consett, DH8 5BP</div>
<div id=“details”>Phone : 01207 693 913 Mobile: 07729 327 323 e-mail: chris@lime4.co.uk</div>
</div>
</body>
</html>
This my PHP it is attached to:
<?php
$comments = $_POST[‘comments’];
$to = “info@echographics.co.uk”;
$re = " New website email feedback";
$msg = $comments;
mail ( $to, $re, $msg );
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” />
<title>Untitled Document</title>
</head>
<body>
<h1>Thanks for your email address, we will be in touch.<h1>
</body>
</html>
Can anyone help with my problem please?
Thanking you in advance,
Alan.
PS this the page in question:
http://www.aardesign.co.uk/lime/index.html