in reply to Re^3: Convert HTML Email message to plain text
in thread Convert HTML Email message to plain text

There are people who write HTML emails and actually use the HTML for the semantic information HTML can provide? Amazing. I always thought 90% of such emails was written by people who may know HTML, but have no idea how to code in it, or how to configure their mail program to send anything else, and the remaining 10% uses it for BLINK and coloured fonts.

"I write HTML email for the semantic information" sounds like "I read Playboy for the articles". It's possible, but no significant number of people actually do it.

  • Comment on Re^4: Convert HTML Email message to plain text

Replies are listed 'Best First'.
Re^5: Convert HTML Email message to plain text
by merlyn (Sage) on Oct 30, 2009 at 04:04 UTC
    No. Imagine the semantic content differences of:
    • He had three pieces of pie.
    • He had three pieces of pie.
    • He had three pieces of pie.
    • He had three pieces of pie.
    • He had three pieces of pie.
    And now remove the bolding. You can't distinguish those. The semantic content is in the bolding. If you had only ASCII, you might add *markup* or _something_ to provide the right emphasis. But if you just rip out the HTML coding, you have indeed lost something.

    This is quite common. I don't know why you think it's rare. :)

    -- Randal L. Schwartz, Perl hacker

    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

    A reply falls below the community's threshold of quality. You may see it by logging in.