Jump to content

Plain-Text email VS HTML email


guguBanana

Recommended Posts

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

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.