Re: Email with multiple parts
By: deon to Digital Man on Wed Jun 07 2023 05:51 pm
> Hey DM,
>
> I received an email today with multiple parts:
>
> $ grep Next msg_5939.txt
> boundary="----=_NextPart_000_008C_01D998A5.F0960690"
> ------=_NextPart_000_008C_01D998A5.F0960690
> boundary="----=_NextPart_001_008D_01D998A5.F0960690"
> ------=_NextPart_001_008D_01D998A5.F0960690
> ------=_NextPart_001_008D_01D998A5.F0960690
> ------=_NextPart_001_008D_01D998A5.F0960690--
> ------=_NextPart_000_008C_01D998A5.F0960690
> ------=_NextPart_000_008C_01D998A5.F0960690--
>
> but Email -> Read was only showing me the first "001_008D" part of the
> message. I wasnt aware that there were other parts unless I downloaded the
> message, ie List -> Select Message -> Download.
Typically there's only one plain-text part (useful for reading in a terminal) per message. But if you want to see all parts, enabling Raw I/O mode (Ctrl-Z) will do that.
> Even smbutil -rxxx didnt show the full message.
'-rxxx' doesn't ring a bell. "smbutil r[xxx] -r" (where [xxx] is the message number) would display the raw (non MIME-decoded message body).
> Should it have shown or otherwise enabled me to download the other parts?
I suppose it (msglist.js?) could display an indicator that there are non-visible parts. Some parts (e.g. html, inline images) just aren't very useful to be shown to a terminal user.
> This makes email via the BBS unreliable if attachments or other parts of the
> message are not accessible.
>
> In case you need it:
> _NextPart_000_008C_01D998A5.F0960690 - Content-Type: multipart/alternative
> _NextPart_001_008D_01D998A5.F0960690 - Content-Type: text/plain;
> _NextPart_001_008D_01D998A5.F0960690 - Content-Type: text/html
> _NextPart_000_008C_01D998A5.F0960690 - Content-Type: text/plain
I would expect only the first text/plain part to be pulled from the message body by default.
--
digital man (rob)
Synchronet/BBS Terminology Definition #67:
SBBS = Synchronet Bulletin Board System
Norco, CA WX: 64.6øF, 65.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|