package async_smtp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Smtp_mail_log.MessageSource

Wrapper arround Log.Message.t that allows access to various standardised tag names.

Sourcemodule Action : Core.Identifiable with type t = string
Sourcetype 'a with_info = flows:Flows.t -> component:Component.t -> here:Core.Source_code_position.t -> ?local_ip_address:Async.Socket.Address.Inet.t -> ?remote_address:Core.Host_and_port.t -> ?remote_ip_address:Async.Socket.Address.Inet.t -> ?email: [ `Fingerprint of Mail_fingerprint.t | `Email of Async_smtp_types.Email.t | `Envelope of Async_smtp_types.Smtp_envelope.t ] -> ?message_size:int -> ?rfc822_id:string -> ?local_id:Async_smtp_types.Smtp_envelope.Id.t -> ?sender: [ `Sender of Async_smtp_types.Smtp_envelope.Sender.t | `String of string ] -> ?recipients: [ `Email of Async_smtp_types.Email_address.t | `String of string ] list -> ?spool_id:string -> ?command:Smtp_command.t -> ?reply:Smtp_reply.t -> ?session_marker:Session_marker.t -> ?tags:(string * string) list -> 'a
Sourcetype t = Async.Log.Message.t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval create : (Action.t -> t) with_info
Sourceval debugf : (('a, unit, string, t) Core.format4 -> 'a) with_info
Sourceval of_error : (Core.Error.t -> t) with_info
Sourceval info : (unit -> t) with_info
Sourceval level : t -> Level.t
Sourceval time : t -> Core.Time.t
Sourceval flows : t -> Flows.t

Encoded as one tag 'flow' for each Flow id

Sourceval component : t -> Component.t

The originating component, encoded as tag 'component'. Use of with_flow_and_component will cause this tag to be rewritten.

Sourceval action : t -> Action.t

Alias for the message field.

Sourceval find_tag' : t -> tag:string -> f:(string -> 'a) -> 'a option
Sourceval find_tag : t -> tag:string -> string option
Sourceval tags : t -> (string * string) list
Sourceval rfc822_id : t -> string option
Sourceval spool_id : t -> string option
Sourceval sender : t -> [ `Sender of Async_smtp_types.Smtp_envelope.Sender.t | `String of string ] option
Sourceval recipients : t -> [ `Email of Async_smtp_types.Email_address.t | `String of string ] list option
Sourceval email : t -> Mail_fingerprint.t option
Sourceval local_ip_address : t -> Async.Socket.Address.Inet.t option
Sourceval remote_address : t -> Core.Host_and_port.t option
Sourceval remote_ip_address : t -> Async.Socket.Address.Inet.t option
Sourceval command : t -> Smtp_command.t option
Sourceval reply : t -> Smtp_reply.t option
Sourceval session_marker : t -> Session_marker.t option
OCaml

Innovation. Community. Security.