phppaper Posted June 30, 2010 Share Posted June 30, 2010 I use mail() to build a mail system, the email contents from a textarea which able user to bold, underline or do other font editing. But through the mail(), the email content received did not edit the fonts, instead it shows up all those HTML tags, how can I remove the html tags show up in the email and still have the font effect?, example of a fail email: <p> testing</p> <p> </p> <p> <strong><u>test</u></strong></p> Quote Link to comment Share on other sites More sharing options...
travo1992 Posted June 30, 2010 Share Posted June 30, 2010 You need to send as a HTML email, rather than a text one. Im not sure how to do this exactly, but most mail classes (swiftmail, phpmailer, etc) have the option. 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.