Karta. Mail. Part
(Karta v1.0.0)
One MIME entity of a parsed message (Karta.Mail.Message.parse/2).
headers- the entity's header fields, raw bytes kept (Karta.Mail.Header).type,subtype,params- from Content-Type, lower-cased; the default istext/plain(message/rfc822insidemultipart/digest).disposition,disposition_params- from Content-Disposition, orniland%{}.encoding- the Content-Transfer-Encoding, lower-cased (default7bit).body- the body exactly as received, still transfer-encoded. For a multipart entity it is the whole multipart body.parts- the child entities of a multipart entity;[]otherwise. Amessage/rfc822body is not parsed automatically: callKarta.Mail.Message.parse/2on it when needed.