add user-agent to mu4e headers ?

82 views
Skip to first unread message

Andy Cowling

unread,
Mar 13, 2016, 6:46:08 PM3/13/16
to mu-discuss
I just migrated from Thunderbird to Emacs/mu4e and like it (functionality, speed, UI, Emacs integration and wonderful manual) a lot.

One irritation is the number of friends and colleagues (who should know better) who insist on sending me HTML emails. Although, I can use mu4e-html2text and image display to decipher the message, this is suboptimal.

I'd like to, err, re-educate them but some of the non-technical folk would need precise details on how to send me plain text depending on which email program they are using.

In Thunderbird, I could expose the User-agent header using 'View-Headers-All'. I'd like to do the same in mu4e but User-Agent isn't included in the 'mu4e-header-info' variable.

As this is a fairly standard header, could it be added in a future release ?

Currently, is there any way (mu4e-custom-headers ?) to enable me to display this header?

Thanks
-- 
Andy

Yuri D'Elia

unread,
Mar 13, 2016, 7:11:05 PM3/13/16
to mu-di...@googlegroups.com
On Sun, Mar 13 2016, Andy Cowling <andy...@gmail.com> wrote:
> I'd like to, err, re-educate them but some of the non-technical folk would
> need precise details on how to send me plain text depending on which email
> program they are using.

I hope you're going to re-educate with Passion.

Although, I'm not sure setting User-Agent will do any good.

> In Thunderbird, I could expose the User-agent header using
> 'View-Headers-All'. I'd like to do the same in mu4e but User-Agent isn't
> included in the 'mu4e-header-info' variable.
>
> As this is a fairly standard header, could it be added in a future release ?

It's in there since at least 0.9.16.

Magnus Therning

unread,
Mar 14, 2016, 3:25:58 AM3/14/16
to mu-di...@googlegroups.com
If you don't need to see it *every* time you open an email you can
always us `.` to show the plain text of the email; it'll show you *all*
headers, including `User-agent`.

/M

--
Magnus Therning OpenPGP: 0x927912051716CE39
email: mag...@therning.org jabber: mag...@therning.org
twitter: magthe http://therning.org/magnus

The definition of insanity is doing the same thing over and over again
and expecting different results.
-- Albert Einstein
signature.asc

Andy Cowling

unread,
Mar 14, 2016, 5:53:45 AM3/14/16
to mu-discuss
Thanks Magnus. That is ideal for my purposes although I fear my campaign will be as successful as the 1996 effort to convert everyone to Emacs/SuperCite :-)
Reply all
Reply to author
Forward
0 new messages