$b) { $body .= sprintf("%20s: %s\n",$b,$_REQUEST[$a]); } $headers2 = "From: insight@deltapix.dk"; $subject2 = "DeltaPix InSight download link"; $autoreply = "Thank you for your request to download and install DeltaPix Insight. To start your download of DeltaPix Insight please click the following link: http://www.deltapix.dk/download/Setup_InSight_3.0.6.exe Save the installation file in a convenient place - e.g. on your computers desktop. Run the installation file from there. A small installation guide can be found here: http://www.deltapix.dk/download/DeltaPix_InSight_Installation_Guide.pdf Should you experience any problems installing or using this software, please do not hesitate to contact us at support@deltapix.dk ------------------------------- On behalf of the DeltaPix Team -------------------------------"; if($from == '') { print "You have not entered an email, please go back and try again"; } else { if ((!$name) && ($Email == $comEmail)) { print "You have not entered a name, please go back and try again"; } else { $send = mail($to, $subject, $body, $headers); $send2 = mail($from, $subject2, $autoreply, $headers2); if($send) { header( "Location: http://www.deltapix.dk" ); } else { print "We encountered an error sending your mail, please notify insight@deltapix.dk"; } } } ?>