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
F103076738: D32630.diff
Wed, Nov 20, 3:26 PM
Unknown Object (File)
Mon, Nov 18, 7:06 PM
Unknown Object (File)
Fri, Nov 15, 4:40 PM
Unknown Object (File)
Mon, Nov 11, 9:52 AM
Unknown Object (File)
Sat, Nov 9, 2:39 AM
Unknown Object (File)
Sat, Nov 9, 2:39 AM
Unknown Object (File)
Sat, Nov 9, 2:39 AM
Unknown Object (File)
Tue, Oct 29, 7:17 AM
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.