Page MenuHomeFreeBSD

HTML pre-formatted cron's emails
Needs ReviewPublic

Authored by jo_bruelltuete.com on Oct 24 2021, 10:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 1, 4:16 PM
Unknown Object (File)
Mon, Sep 23, 5:27 PM
Unknown Object (File)
Mon, Sep 23, 12:18 PM
Unknown Object (File)
Sat, Sep 21, 3:54 AM
Unknown Object (File)
Sun, Sep 8, 5:53 PM
Unknown Object (File)
Sep 5 2024, 5:43 AM
Unknown Object (File)
Aug 28 2024, 11:06 PM
Unknown Object (File)
Aug 23 2024, 4:02 PM
Subscribers

Details

Reviewers
None
Group Reviewers
Contributor Reviews (src)
Summary

basic html pre-tags makes cron's emails easier to read.
except on apple's mail client... which is behaving utterly insane no matter how i'm trying to format stuff.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lwhsu added a subscriber: lwhsu.

I think this is an interesting idea, but would be better to put behind an option or config and for not changing the default behavior.

OTOH, if some sort of the client cannot display plain text format mails correctly, would it make more sense to fix it or let the mail be passed through a filter?

OTOH, if some sort of the client cannot display plain text format mails correctly, would it make more sense to fix it or let the mail be passed through a filter?

I have no hope of Apple ever fixing their stuff... iOS mail has been broken in "interesting" ways for years now.
I'll play around a bit more with the CSS to find out if anything makes this work on iOS.

btw an alternative place for this would be in mail(1), in particular for periodic emails. But to be honest, cron's code was much easier to read...

add cmdline option to switch html-pre on and off

fwiw, the email app in iphone ios 15.2.1 no longer line-breaks pre-formatted text. but the app ui goes all wonky.