词条 | HTML email | ||||||||||||||||||||||||||||||||
释义 |
HTML email is the use of a subset of HTML to provide formatting and semantic markup capabilities in email that are not available with plain text:[1] Text can be linked without displaying a URL, or breaking long URLs into multiple pieces. Text is wrapped to fit the width of the viewing window, rather than uniformly breaking each line at 78 characters (defined in RFC 5322, which was necessary on older text terminals). It allows in-line inclusion of images, tables, as well as diagrams or mathematical formulae as images, which are otherwise difficult to convey (typically using ASCII art). AdoptionMost graphical email clients support HTML email, and many default to it. Many of these clients include both a GUI editor for composing HTML emails and a rendering engine for displaying received HTML emails. Since its conception, a number of people have vocally opposed all HTML email (and even MIME itself), for a variety of reasons.[2] For instance, the ASCII Ribbon Campaign advocated that all email should be sent in ASCII text format. The campaign was unsuccessful and was abandoned in 2013.[3][4] While still considered inappropriate in many newsgroup postings and mailing lists, its adoption for personal and business mail has only increased over time. Some of those who strongly opposed it when it first came out now see it as mostly harmless.[5] According to surveys by online marketing companies, adoption of HTML-capable email clients is now nearly universal, with less than 3% reporting that they use text-only clients.[6] The majority of users prefer to receive HTML emails over plain text.[7][8] CompatibilityEmail software that complies with RFC 2822 is only required to support plain text, not HTML formatting. Sending HTML formatted emails can therefore lead to problems if the recipient's email client does not support it. In the worst case, the recipient will see the HTML code instead of the intended message. Among those email clients that do support HTML, some do not render it consistently with W3C specifications, and many HTML emails are not compliant either, which may cause rendering or delivery problems. In particular, the
StyleSome senders may excessively rely upon large, colorful, or distracting fonts, making messages more difficult to read.[12] For those especially bothered by this formatting, some user agents make it possible for the reader to partially override the formatting (for instance, Mozilla Thunderbird allows specifying a minimum font size); however, these capabilities are not globally available. Further, the difference in optical appearance between the sender and the reader can help to differentiate the author of each section, improving readability. Multi-part formatsMany email servers are configured to automatically generate a plain text version of a message and send it along with the HTML version, to ensure that it can be read even by text-only email clients, using the Many{{Citation needed|date=September 2009}} mailing lists deliberately block HTML email, either stripping out the HTML part to just leave the plain text part or rejecting the entire message.{{Citation needed|date=September 2009}} The order of the parts is significant. RFC1341 states that: In general, user agents that compose multipart/alternative entities should place the body parts in increasing order of preference, that is, with the preferred format last.[16] For multipart emails with html and plain-text versions, that means listing the plain-text version first and the html version after it, otherwise the client may default to showing the plain-text version even though an html version is available. Message sizeHTML email is larger than plain text. Even if no special formatting is used, there will be the overhead from the tags used in a minimal HTML document, and if formatting is heavily used it may be much higher. Multi-part messages, with duplicate copies of the same content in different formats, increase the size even further. The plain text section of a multi-part message can be retrieved by itself, though, using IMAP's FETCH command.[17] Although the difference in download time between plain text and mixed message mail (which can be a factor of ten or more) was of concern in the 1990s (when most users were accessing email servers through slow modems), on a modern connection the difference is negligible for most people, especially when compared to images, music files, or other common attachments.[18] Security vulnerabilitiesHTML allows a link to be displayed as arbitrary text, so that rather than displaying the full URL, a link may show only part of it or simply a user-friendly target name. This can be used in phishing attacks, in which users are fooled into believing that a link points to the website of an authoritative source (such as a bank), visiting it, and unintentionally revealing personal details (like bank account numbers) to a scammer. If an email contains web bugs (inline content from an external server, such as a picture), the server can alert a third party that the email has been opened. This is a potential privacy risk, revealing that an email address is real (so that it can be targeted in the future) and revealing when the message was read. For this reason, some email clients do not load external images until requested to by the user. HTML content requires email programs to use engines to parse, render and display the document. This can lead to more security vulnerabilities, denial of service or low performance on older computers. During periods of increased network threats, the US Department of Defense converts all incoming HTML email to text email.[19] The multipart type is intended to show the same content in different ways, but this is sometimes abused; some email spam takes advantage of the format to trick spam filters into believing that the message is legitimate. They do this by including innocuous content in the text part of the message and putting the spam in the HTML part (that which is displayed to the user). Most email spam is sent in HTML{{Citation needed|date=December 2013}} for these reasons, so spam filters sometimes give higher spam scores to HTML messages.{{Citation needed|date=December 2013}} See also
References1. ^{{Cite web|title = Text Email vs HTML Email – The Pros and Cons {{!}} Thunder Mailer – Mass Emailing Software|url = http://www.thundermailer.com/text-email-vs-html-email-the-pros-and-cons/|website = www.thundermailer.com|access-date = 2016-01-30}} 2. ^[https://subversion.american.edu/aisaac/notes/htmlmail.htm HTML Email: Whenever Possible, Turn It Off!] 3. ^{{Cite web|title=The Ascii Ribbon Campaign official homepage |url=http://www.asciiribbon.org/}} 4. ^{{Cite web|title = Shutdown of the ASCII ribbon campaign - Pale Moon forum|url = http://forum.palemoon.org/viewtopic.php?f=4&t=2705|website = forum.palemoon.org|access-date = 2016-01-30}} 5. ^HTML Email: The Poll (Scot Hacker, originator of the much-linked-to Why HTML in E-Mail is a Bad Idea discusses how his feelings have changed since the 1990s) 6. ^{{Cite web|title=Email Marketing Statistics and Metrics - EmailLabs |url=http://www.emaillabs.com/tools/email-marketing-statistics.html |date=2007-03-29 |access-date=2016-01-30 |quote=HTML has nearly universal adoption among consumers: A Jupiter Research consumer survey found just 3% receive only text email. |deadurl=yes |archiveurl=https://web.archive.org/web/20070329012457/http://www.emaillabs.com/tools/email-marketing-statistics.html |archivedate=29 March 2007 }} 7. ^{{Cite web|title = Real-World Email Client Usage: The Hard Data {{!}} ClickZ|url = https://www.clickz.com/clickz/column/2138714/real-world-email-client-usage-the-hard-data|website = www.clickz.com|access-date = 2016-01-30|last = Grossman|date = 2002-07-09|first = Edward|quote = Do you prefer receiving HTML or text email? HTML: 41.95%, Text: 31.52%, No preference: 26.53%}} 8. ^{{Cite web|title = The Science of Email Marketing|url = http://www.slideshare.net/HubSpot/the-science-of-email-marketng/32|website = www.slideshare.net|access-date = 2016-01-30|quote = In what format do you prefer to receive email messages from companies? HTML: 88%, Plain text: 12%}} 9. ^{{cite web|author=Dialect 10. ^{{cite web|url=https://www.campaignmonitor.com/blog/post/2468/why-we-need-web-standards-supp-1 |title=Why we need standards support in HTML email |publisher=Campaign Monitor |date= |accessdate=2012-06-24}} 11. ^{{cite web |url=http://www.email-standards.org/gmail-appeal |title=The 2008 Gmail Appeal | Email Standards Project |publisher=Email-standards.org |date= |accessdate=2012-06-24 |deadurl=yes |archiveurl=https://web.archive.org/web/20120515030536/http://www.email-standards.org/gmail-appeal |archivedate=15 May 2012 |df=dmy-all }} 12. ^{{cite web |last=Shobe |first=Matt |url=http://www.burningdoor.com/matt/archives/000782.html |title=A pretty fair argument against HTML Email |publisher=Burningdoor.com |date=2004-10-12 |accessdate=2012-06-24 |deadurl=yes |archiveurl=https://web.archive.org/web/20120424084806/http://www.burningdoor.com/matt/archives/000782.html |archivedate=24 April 2012 |df=dmy-all }} 13. ^RFC 1521 7.2.3. The Multipart/alternative subtype 14. ^{{cite web|url=http://www.codestone.ltd.uk/software/docs/csmail/tn1010-11-2.pdf |title=TN1010-11-2: Multipart/Alternative — Gracefully handling HTML-phobic email clients. |format=PDF |date= |accessdate=2012-06-24}} 15. ^{{cite web|url=http://www.wilsonweb.com/wmt5/html-email-multi.htm |title=Sending HTML and Plain Text E-Mail Simultaneously |publisher=Wilsonweb.com |date=2000-04-28 |accessdate=2012-06-24}} 16. ^{{cite web|url=http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html|title=RFC1341 Section 7.2 The Multipart Content-Type|date= |accessdate=2014-07-15}} 17. ^{{cite web|url=http://dsv.su.se/jpalme/ietf/mhtml-discussion.html |title=Do we really want to send web pages in e-mail? |publisher=Dsv.su.se |date= |accessdate=2012-06-24}} 18. ^HTML Email — Still Evil? 19. ^{{cite web|url=http://fcw.com/articles/2006/12/22/dod-bars-use-of-html-email-outlook-web-access.aspx|title=DOD bars use of HTML e-mail, Outlook Web Access|publisher=fcw.com|date= |accessdate=2015-06-23}} 3 : Email|Internet terminology|HTML |
||||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。