SN1P3R_85 Posted November 30, 2008 Share Posted November 30, 2008 Hi, i am having trouble with the basic format of putting a link inside an email message. When i get the email, it just has the <a href> listed out in text. I just want the link name to appear. How do you fix this? Quote Link to comment Share on other sites More sharing options...
revraz Posted November 30, 2008 Share Posted November 30, 2008 Add "Content-type: text/html; charset=iso-8859-1" To your header when you send the mail. Quote Link to comment Share on other sites More sharing options...
SN1P3R_85 Posted November 30, 2008 Author Share Posted November 30, 2008 Do i just add it anywhere in the header? What is the syntax for adding it, right now my header is this: $header = "From: www.caidenhome.com \r\n"; Quote Link to comment Share on other sites More sharing options...
revraz Posted November 30, 2008 Share Posted November 30, 2008 $header = "From: www.caidenhome.com \r\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"; Quote Link to comment Share on other sites More sharing options...
JADASDesigner Posted November 30, 2008 Share Posted November 30, 2008 and make sure you throw your header variable into the mail line. Quote Link to comment Share on other sites More sharing options...
SN1P3R_85 Posted November 30, 2008 Author Share Posted November 30, 2008 Thanks alot, it worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.