Module Values.EnvelopeSource

The SMTP envelope information of the email.

Sourcetype nonrec t = {
  1. helo : String_.t option;
    (*

    The HELO used by the host from which the email was received.

    *)
  2. from : String_.t option;
    (*

    The RCPT FROM given by the host from which the email was received.

    *)
  3. to_ : StringList.t option;
    (*

    All SMTP TO entries given by the host from which the email was received.

    *)
}
Sourceval make : ?helo:??? -> ?from:??? -> ?to_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t