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)
Sat, Apr 13, 10:20 AM
Unknown Object (File)
Sat, Apr 6, 8:46 AM
Unknown Object (File)
Tue, Apr 2, 7:35 AM
Unknown Object (File)
Mar 14 2024, 2:41 AM
Unknown Object (File)
Mar 14 2024, 2:41 AM
Unknown Object (File)
Mar 14 2024, 2:41 AM
Unknown Object (File)
Mar 13 2024, 1:21 PM
Unknown Object (File)
Mar 9 2024, 7:12 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.