I am having problems with the mail() function....I can send the mail, but I can for my life get a link into the email that is sent!!
Here is the code im using,
$toaddress = $email;
$subject = "Just Testing $name ";
$mailcontent = "Customer Name : ".$name."\n"
."Email Address : ".$email."\n"
."Topic : ".$topic."\n"
."Enquiry : ".$enquiry."\n"
."To reply click here **** ";
$additional_headers = "From: someone@somewhere.com";
mail ($toaddress, $subject, $mailcontent, $additional_headers);
I can't figure out what to do on the line ***
so that I can, for instance make the "here" link somewhere..
I have tried to plug something like, <a href=link.html>here</a> there, then I get the whole line echoed back in the email and no link.
Cna anyone assist?
Thanks very much,
Ian