lunny Posted March 29, 2007 Share Posted March 29, 2007 We want to send an email containing a HREF link but having problems with escape characters or whatever. So in the body of the mail we have $bodyPT2 = "<a href =".$fullUrl.">link </a>"; where fullURL is a user inputted URL but when we open the mail we get <a href =http://something/boom249.php>link </a> instead of just showing "link" Any Help ? : ( Link to comment https://forums.phpfreaks.com/topic/44812-problems-sending-href-link-in-body-of-email/ Share on other sites More sharing options...
papaface Posted March 29, 2007 Share Posted March 29, 2007 Do: $bodyPT2 = '<a href="'.$fullUrl.'">link </a>'; Link to comment https://forums.phpfreaks.com/topic/44812-problems-sending-href-link-in-body-of-email/#findComment-217594 Share on other sites More sharing options...
lunny Posted March 29, 2007 Author Share Posted March 29, 2007 Hi, Thanks for the help but it still doesn't work... the output in the e-mail body is now: <a href="http://someNetwork/yy57.php">link </a> where the yy57 is the user inputted link... Link to comment https://forums.phpfreaks.com/topic/44812-problems-sending-href-link-in-body-of-email/#findComment-217614 Share on other sites More sharing options...
lunny Posted March 29, 2007 Author Share Posted March 29, 2007 haha just noticed link appears in the post above but in the mail it doesnt it just the code for the HREF. Do emails have HTML enables ? Link to comment https://forums.phpfreaks.com/topic/44812-problems-sending-href-link-in-body-of-email/#findComment-217621 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.