Page 1 of 1

Hyperlinks in email??????

Posted: Mon Sep 15, 2003 8:34 pm
by voodoo9055
Ok, I am stumped. How do you include a hyperlink inside the emails sent by the mail() function?

No matter what I do, I keep getting the url in plain text after emailing the message to myself.

Posted: Mon Sep 15, 2003 9:02 pm
by tsg
If you are using AOL .. aol email account .. then you won't get a clickable link ... you will have to format it <a href="LINK">link</a> ..

Posted: Mon Sep 15, 2003 9:19 pm
by Bizwala
You can also create html email by adding the following to your headings. Then call the link via html

$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

$message="<a href=\"http://someurl.com\">http://someurl.com</a>";

Posted: Tue Sep 16, 2003 7:41 am
by voodoo9055
It works! Thanks a lot Bizwala.