guguBanana Posted June 25, 2009 Share Posted June 25, 2009 elloo, i've read some where that plain-text email is better than html email however i cannot find the article, can some one here tell me what are the advantages of plain-text email? Far, as i understand that some MUA (mail user agents) do not support html email for security reasons however i have not a clue what are these security reasons are. many thanks in advance. ps: sorry if i have posted this in the wrong category. Link to comment https://forums.phpfreaks.com/topic/163678-plain-text-email-vs-html-email/ Share on other sites More sharing options...
rhodesa Posted June 25, 2009 Share Posted June 25, 2009 plain text email is not better, but it is universally supported. any email client can read plain text emails. it is true that some email clients can't read html emails, but there is only a few and they tend to be on systems where the only interaction is with a command line interface. furthermore, with html emails, you need to keep it simple. a lot of popular browsers don't support a lot of styling (for security reasons). Here is a good article on CSS support for email clients: http://www.campaignmonitor.com/css/ I tend to go real old school when i'm doing emails... <font color="#FF0000">Red Text</font> now, back to the plain text stuff. you don't have to send plain text OR html emails. email support multipart, so you can include both in one email and the client will show what it supports. For PHP I would check out this: http://phpmailer.codeworxtech.com/ it does all the multipart headers for you Link to comment https://forums.phpfreaks.com/topic/163678-plain-text-email-vs-html-email/#findComment-863644 Share on other sites More sharing options...
guguBanana Posted June 25, 2009 Author Share Posted June 25, 2009 @rhodesa thanks for the quick reply. i get what you are saying, can you also tell me what are the security issues for using CSS? thanks once more. Link to comment https://forums.phpfreaks.com/topic/163678-plain-text-email-vs-html-email/#findComment-863661 Share on other sites More sharing options...
rhodesa Posted June 25, 2009 Share Posted June 25, 2009 it's more the allowing of remote file (image, stylesheets, etc). it makes a request to an external server which allows that server to track you Link to comment https://forums.phpfreaks.com/topic/163678-plain-text-email-vs-html-email/#findComment-863667 Share on other sites More sharing options...
WolfRage Posted June 25, 2009 Share Posted June 25, 2009 I agree with you completely on everything you have posted Rhodesa. Just wanted to add that if you are expecting to email to large corporations or any government agency, keep in mind that they will usually convert all emails to plain text. Which makes a html only email look ugly. Link to comment https://forums.phpfreaks.com/topic/163678-plain-text-email-vs-html-email/#findComment-863672 Share on other sites More sharing options...
guguBanana Posted June 25, 2009 Author Share Posted June 25, 2009 @rhodesa & @WolfRage thank you both, i get it. Link to comment https://forums.phpfreaks.com/topic/163678-plain-text-email-vs-html-email/#findComment-863693 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.