is ther anyway i can get the php file that sends an email to specify who it is from. i always seem to get ;apache@ss54.shared.server-system.net no matter what i do. cheers.
$headers .="MIME-Version: 1.0\n";
$headers .="Content-type: text/html;charset: iso-8859-1";
$headers .="<style type=\"text/css\">\n
<!--
.style2 {color: #FF00FF}\n
-->
</style>\n";
//
$msg = "<img src=\"http://www.craster.com/flash/LOGO.jpg\"borders=\"0\"><br>
<br>
<font color=\"#666666\" size=\"5\"><B>Product Quote Request</B></font> <BR>
<font color=\"#333333\" size=\"3\">This is an automated response, your enquiry is being processed<br>
and you will be contacted shortly.</font><BR>";
$msg .= "<B><BR><font color=\"#666666\" size=\"4\">Your contact details:<BR></font>";
$msg .= "<font color=\"#333333\" size=\"3\">name</B>: $uname $surname<BR><B>email: </B>$uemail<BR>";
$msg .= "$info<BR></font> ";
$msg .= "<B><font color=\"#666666\" size=\"4\">Requested products:</B><BR></font> <font color=\"#333333\" size=\"3\">$basket,</font><BR><BR>";
$msg .= "<font color=\"#333333\" size=\"3\">Thank you for visiting the Craster website. </font><BR><BR>
<font color=\"#333333\" size=\"2\">37 Eltisley Avenue, <BR>
Cambridge CB3 9JQ <BR>
Tel: +44 (0)870 6093028c Fax: +44 (0)808 208 9367 E-mail: [email]info@crasterwoodwork.co.uk[/email]</font>";
$to = "dan@jynk.net";
//$to = "alex@craster.com";
$subject = "Product Quote Request";
$mailheaders .= "Call/Reply-To: $uname\n\n";
mail($to, $subject, $msg, $headers)