Mrmime.MailSourceHeavy parser of a body - it will stores bodies into string.
val light_octet :
emitter:(string option -> unit) ->
string option ->
Header.t ->
unit Angstrom.tLight parser of body - it sends contents to given emitter.
Angstrom parser of an entire RFC 5322 mail (including header).
val stream :
?g:Field.witness Field_name.Map.t ->
(Header.t -> (string option -> unit) * 'id) ->
(Header.t * 'id t) Angstrom.tstream ~emitters is an Angstrom parser of an entire RFC 5322 mail which will use given emitters by emitters to store bodies.