RE: HTML for email

Larry Masinter <LMM@acm.org> Mon, 01 March 2021 17:31 UTC

Return-Path: <masinter@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B9B673A20BF for <ietf@ietfa.amsl.com>; Mon, 1 Mar 2021 09:31:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level:
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mTYyQyS9BHCD for <ietf@ietfa.amsl.com>; Mon, 1 Mar 2021 09:31:17 -0800 (PST)
Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C60693A20BD for <ietf@ietf.org>; Mon, 1 Mar 2021 09:31:10 -0800 (PST)
Received: by mail-pf1-x42c.google.com with SMTP id 201so11985220pfw.5 for <ietf@ietf.org>; Mon, 01 Mar 2021 09:31:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=9zZ/H9UXlPxtpoLBh7cGNsvivNmpDB1aprpmNHEMc9k=; b=b+lKC0Aov+mscFT4K9LPR3ykiOvnziBVV0uoqxk14aimJtpHEXlm4YccsAwnrwzZyA 0Nm/Haw8B/5WgiDkcvJYRdtdOff6+YK6LE/dN1DK6ECPNrUwjvMvqDtbcuFR065k9pk5 gkGoy1TM2si4KOF2H0cQUg5CtfdadWHubITElMUKnBjCcMkHciZIcKNdDwE779Yx8cAd NUbFEx9Je+nKQ+JUZfx694qICXx3gn1qkxN7FOOpQNx+rXCmu/EbkorvH8hACkikxHg3 qadWQKdAmaMjS5FFCDXadIW2rwMAF7rjx4g4zGb22Ljn+pSS4aizmR1QQfMBPwNWe2Ps JAOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:references:in-reply-to:subject :date:message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=9zZ/H9UXlPxtpoLBh7cGNsvivNmpDB1aprpmNHEMc9k=; b=ZB4QIp8hXPcRS09hDqJdYVkoMTSadkdAFdU74AAq5ke2JkfKol/2ZIbxac1evOBRjO HHvcPay8ovGFL9+EjNUKQKpAY4i0uMnTEIw9lMtAIzJyjM2MBy1hap35L2hQZzKtxUAP WmYPHAXw4X99jmrBh/V+nP/9bYmeLE4JWQwb0LjDpHb87adD998Pl6VmXODEygKjR7nw aBxoBU/7fj4gTH47SIcWeg52vo06j06AxurrLjE8KdMQMka9fn+OwrtPx2hRqUYa46i9 4Sx5v8h383WTFONZzkoa31JGe0Psk3XKsTDyzsbYteKtzw02XTz2dnffhLbd6h6wDEKS CfTA==
X-Gm-Message-State: AOAM5329U7qYrN6Qf25oS+MevUuFuKuSlOREKaNDrSNngvIuLTbSUZUB nk/19VUJ5k3E7DOO/OB46bAsoh0Cbfk=
X-Google-Smtp-Source: ABdhPJyxmJd8smfKglwfidmbCzBgGJtQ4ZKkKQGa7kuDL0LHwj7QrENBuGfn9Yyed4g/fR3wz4uuSA==
X-Received: by 2002:a62:29c1:0:b029:1ed:7a00:d346 with SMTP id p184-20020a6229c10000b02901ed7a00d346mr15820597pfp.27.1614619868635; Mon, 01 Mar 2021 09:31:08 -0800 (PST)
Received: from TVPC (c-73-158-116-21.hsd1.ca.comcast.net. [73.158.116.21]) by smtp.gmail.com with ESMTPSA id z3sm5915799pfn.7.2021.03.01.09.31.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Mar 2021 09:31:07 -0800 (PST)
Sender: Larry Masinter <masinter@gmail.com>
From: Larry Masinter <LMM@acm.org>
X-Google-Original-From: "Larry Masinter" <lmm@acm.org>
To: 'tom petch' <daedulus@btconnect.com>, 'Phillip Hallam-Baker' <phill@hallambaker.com>, 'Keith Moore' <moore@network-heretics.com>
Cc: 'IETF Discussion Mailing List' <ietf@ietf.org>
References: <20210227190200.06ED46F10439@ary.qy> <4064.1614454347@localhost> <s1f0vo$ejp$1@gal.iecc.com> <59240886-320d-fae3-6b98-7b83dacaf5e7@network-heretics.com> <CAMm+LwhWCsG68GOws-Zm9TDcEZ4trGBhq7Dm-_0Ci8Ri7kDK=Q@mail.gmail.com> <603D2360.1070406@btconnect.com>
In-Reply-To: <603D2360.1070406@btconnect.com>
Subject: RE: HTML for email
Date: Mon, 01 Mar 2021 09:31:06 -0800
Message-ID: <01f901d70ec0$aa28cfb0$fe7a6f10$@acm.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGiS2ioNXMUrUZTPpXRVgVX17Y91wHmNXREApOwxsUBcc5u5gMfvKwYAi9gveyqfxNTAA==
Content-Language: en-us
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/suxyz6mNMDc-ZLnlgTRfCA_cI8Y>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2021 17:31:25 -0000

There's been no interest in the email community for defining a "for email" profile of HTML and multipart/related (or WPACK).
Why is that?


--
https://LarryMasinter.net https://interlisp.org

> -----Original Message-----
> From: ietf <ietf-bounces@ietf.org> On Behalf Of tom petch
> Sent: Monday, March 1, 2021 9:25 AM
> To: Phillip Hallam-Baker <phill@hallambaker.com>; Keith Moore
> <moore@network-heretics.com>
> Cc: IETF Discussion Mailing List <ietf@ietf.org>
> Subject: Re: HTML for email
> 
> On 01/03/2021 14:22, Phillip Hallam-Baker wrote:
> > Yes HTML is a disaster for email. But so is plaintext wrapped at 66
> > characters by the server because people didn't know better.
> >
> > The reasons HTML is a disaster are
> >
> > 1) There is no standard for HTML in email.
> > 2) HTML has been turned into a presentation format.
> > 3) Email messages used annotations for a decade before HTML which
> > doesn't support them
> > 4) The SMTP email infrastructure does not provide a viable means of
> > knowing what formats are accepted by a recipient so there is no way to fix
> this.
> 
> And breaks privacy.  I find it ironic that the IETF seems to devote forests to
> combating a slight possibility of privacy being impaired, something that I see
> bordering on an obsession, but actively supports HTML e-mail which drives a
> coach and horses through privacy.
> 
> I now find web mail servers which will not let me view e-mail in plain text
> (which I assume is because they want to harvest as much personal data from
> me as possible).
> 
> Tom Petch
> 
> 
> > One painful side effect of 1 and 2 is that messages come with embedded
> > font size specifiers which is beyond stupid. The sender has no idea
> > what device I am reading something on. But Gmail will happily chose
> > font size settings that are frequently stupid. I have no control over that as a
> user.
> >
> > But the last point is the most important because the difficulty of
> > fixing the SMTP infrastructure has become greater than the difficulty
> > of replacing it with something fit for purpose.
> >
> > Of course the world is not going to move to something new overnight.
> > But I do have a plan.
> >
> >
> >
> >
> > On Mon, Mar 1, 2021 at 12:06 AM Keith Moore
> > <moore@network-heretics.com>
> > wrote:
> >
> >> On 2/27/21 10:00 PM, John Levine wrote:
> >>
> >>> Indeed, but that was many decades ago. There are some ways in which
> >>> the IETF is cutting edge, some in which we are amusingly backward.
> >>> Most of the people I deal with can send an e-mail that says "I
> >>> highlighted the changes in yellow" and all of their correspondents
> >>> see the yellow text. Try that here. Remember that MIME was invented
> >>> in the IETF and HTML down the virtual hall from here, both about 30
> years ago.
> >> Ok, but to be fair: HTML is a disaster for email.   Way back in the
> >> mid-1990s most of us thought it would work out ok, and more likely to
> >> succeed than text/richtext.   But we didn't really take the time to
> >> understand the nature of the problem in either case.    It's hard to
> >> write a good html editor for email, especially one that handles
> >> inline replies properly, and every single HTML editor for email I know of
> >> botches this.    Accidentally delete the line or invisible space before
> >> or after a change in format and it's likely to completely mess up
> >> your formatting, say by merging one correspondent's text with
> >> another.  HTML doesn't handle annotations well either because (gasp)
> >> text messages are not naturally hierarchical like HTML (and its *ML
> predecessors) expect
> >> them to be.   HTML hasn't exactly been a stable target either, and
> >> there's lots of variation among MUAs regarding which features are
> >> supported. It's hard to send an email message that looks more-or-less
> >> the same to every recipient.
> >>
> >> (And, IMO unfortunately, a lot of MUAs take liberties with
> >> presentation of email messages, which only exacerbates the above
> >> problems.)
> >>
> >> At the same time HTML is so widely deployed that it's very hard to
> >> deploy something that works better.
> >>
> >> The specific behavior you cite above is actually due to a failure of
> >> standardization, because the vast majority of Big Corporate environments
> >> have settled on 1 of about 2 email products overall.   Highlighting text
> >> in yellow doesn't work as well in IETF because IETF participants are
> >> (fortunately) still more diverse than Big Corporate employees.
> >>
> >> Keith
> >>
> >>
> >>
> >