dizzy1 Posted March 3, 2009 Share Posted March 3, 2009 Hi ive made the email and it sends but the damn html comes out as text, is thier anyway of making the html appear like a web page does instead of gettin this in the email: <table width='80%'> <tr> <td colspan='2'> Welcome Test </td> </tr> <tr> <td colspan='2'> </td> </tr> <tr> <td colspan='2'> Please Follow This Link To Complete Your Registration </td> </tr> <tr> <td colspan='2' align='center'> <a href='http://www.test.co.uk?Rid=1823174856/'> Finish Registration </a> </td> <tr> <td colspan='2'> </td> </tr> <tr> <td width='50%'> Username: </td> <td width='50%'> Dave: </td> </tr> <tr> <td width='50%'> Password: </td> <td width='50%'> test: </td> </tr> <tr> <td colspan='2'> </td> </tr> <tr> <td colspan='2'> <font size='8'> This is an automated email, please do not reply</font> </td> </tr> </table> Link to comment https://forums.phpfreaks.com/topic/147708-solved-php-html-email/ Share on other sites More sharing options...
ratcateme Posted March 3, 2009 Share Posted March 3, 2009 you are most likely missing a HTML header check example 4 on mail look at the headers near the bottom Scott. Link to comment https://forums.phpfreaks.com/topic/147708-solved-php-html-email/#findComment-775332 Share on other sites More sharing options...
dizzy1 Posted March 3, 2009 Author Share Posted March 3, 2009 Cheers, I just got it tho: $from = "[email protected]"; $headers = "From: $from"; $headers .= 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; Link to comment https://forums.phpfreaks.com/topic/147708-solved-php-html-email/#findComment-775337 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.