On 2025-04-17 at 08:40, Nicolas George wrote: > Roger Price (HE12025-04-17): > >> I have been told by the elderly president of a club I belong to >> that when I write on the club's mailing list, it must be in blue. > > That is idiotic and harmful. Tell you will comply only if there is a > compelling justification. (There is not.)
You could also tell him that he should be able to configure his(?) mail client to display incoming plain-text E-mail in blue. That sort of display formatting is properly a client-side matter, and is not for the sender to determine. (Even if the sender does specify it, the client is free to ignore the specified details.) >> I would like to do this without using HTML. I use alpine to send >> and receive email : I tried adding the ASCII codes that produce >> colored text in a X terminal, for example the command echo -e "This >> is a test of \e[3;91m italic red \e[0m ", but they are ignored in >> an e-mail message body. >> >> Is there some way of producing colored text without using HTML ? > > Not possible. In principle it could be possible, depending on the client that will be receiving/displaying/rendering the mail. In practice, very few if any clients are going to support any such thing. (And the only context I can think of in which it *might* be possible are, as you reference, mail clients that run in a terminal. Even if you hadn't already tested that and found that it doesn't seem to work, it seems quite unlikely that someone who would make such a demand would be reading mail through such a mail client.) -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
signature.asc
Description: OpenPGP digital signature