ReceivedReceived field
and info = [ | `Address of Colombe.Domain.t| `Domain_and_address of Colombe.Domain.t * Colombe.Domain.t ]val received_by : t -> Colombe.Domain.t with_info optionval received_from : t -> Colombe.Domain.t with_info optionval received_for : t -> Colombe.Path.t optionType of protocol used to receive email:
SMTPESMTPval id :
t ->
[ `Local of Emile.local | `MsgID of Mrmime.MessageID.t | `Atom of string ]
optionval date_time : t -> Mrmime.Date.tval tcp : linkval link : string -> linkval smtp : protocolval esmtp : protocolval protocol : string -> protocolval make :
?from:Colombe.Domain.t with_info ->
?by:Colombe.Domain.t with_info ->
?via:link ->
?protocol:protocol ->
?id:Mrmime.MessageID.t ->
Colombe.Path.t option ->
zone:Mrmime.Date.Zone.t ->
Ptime.t ->
tmake ?from ?by ?via ?protocol ?id path ~zone time:
from is the domain where the email comes from.by is the domain where the email is received.via is the underlying protocol used to receive the email (usually tcp).protocol is the protocol used to receive the email.id is the chosen ID by the MTA.path is the given Path.t received by the MTAzone is the time-zone of the MTA.time is the time when the MTA received the email.val pp : t Fmt.tmodule Decoder : sig ... endmodule Encoder : sig ... end