leahneukirchen / mblaze

Unix utilities to deal with Maildir
Other
441 stars 48 forks source link

Simply show an email body ? #183

Closed sucrecacao closed 4 years ago

sucrecacao commented 4 years ago

Hello,

When running mshow, it also display a lot of other stuff, like the header etc..

How to only show the body ( text/html content ) part of a message ?

leahneukirchen commented 4 years ago

mshow -h '' will not print any headers, but still the empty line.

sucrecacao commented 4 years ago

That's pretty good still have a bit of noise, like the

--- 1: multipart/mixed size=20441 ---
--- --- 2: text/html size=6072 ---

Any way to remove that ? or should I use some bash script ? How maybe can you give me some pointer on the mshow source code to help me achieve this feature ?

leahneukirchen commented 4 years ago

Use -N to disable those.

sucrecacao commented 4 years ago

Thanks ! For the -N I could have RTFM but the -h '' was not easy !