package async_smtp

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

Module Async_smtp.Smtp_replySource

Sourcetype t = private {
  1. code : [ `Service_ready_220 | `Closing_connection_221 | `Authentication_successful_235 | `Ok_completed_250 | `Start_authentication_input_334 | `Start_mail_input_354 | `Service_unavailable_421 | `Local_error_451 | `Message_rate_exceeded_452 | `Tls_temporarily_unavailable_454 | `Unable_to_accommodate_455 | `Command_not_recognized_500 | `Syntax_error_501 | `Command_not_implemented_502 | `Bad_sequence_of_commands_503 | `Parameter_not_implemented_504 | `Authentication_required_530 | `Authentication_credentials_invalid_535 | `Mailbox_unavailable_550 | `Exceeded_storage_allocation_552 | `Transaction_failed_554 | `From_to_parameters_bad_555 | `Other of int ];
  2. raw_message : string list;
}
include Core.Bin_prot.Binable.S with type t := t
include Bin_prot.Binable.S_only_functions with type t := t
Sourceval bin_size_t : t Bin_prot.Size.sizer
Sourceval bin_write_t : t Bin_prot.Write.writer
Sourceval bin_read_t : t Bin_prot.Read.reader
Sourceval __bin_read_t__ : (int -> t) Bin_prot.Read.reader

This function only needs implementation if t exposed to be a polymorphic variant. Despite what the type reads, this does *not* produce a function after reading; instead it takes the constructor tag (int) before reading and reads the rest of the variant t afterwards.

Sourceval bin_shape_t : Bin_prot.Shape.t
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval code : t -> int
Sourceval service_ready_220 : string -> t
Sourceval closing_connection_221 : t
Sourceval authentication_successful_235 : t
Sourceval ok_completed_250 : string -> t
Sourceval start_authentication_input_334 : string -> t
Sourceval start_mail_input_354 : t
Sourceval service_unavailable_421 : t
Sourceval data_timeout_421 : t
Sourceval command_timeout_421 : t
Sourceval local_error_451 : string -> t
Sourceval message_rate_exceeded_452 : t
Sourceval unable_to_accommodate_455 : string -> t
Sourceval command_not_recognized_500 : string -> t
Sourceval syntax_error_501 : string -> t
Sourceval command_not_implemented_502 : Smtp_command.t -> t
Sourceval bad_sequence_of_commands_503 : Smtp_command.t -> t
Sourceval authentication_required_530 : t
Sourceval authentication_credentials_invalid_535 : t
Sourceval mailbox_unavailable_550 : string -> t
Sourceval exceeded_storage_allocation_552 : t
Sourceval transaction_failed_554 : string -> t
Sourceval from_to_parameters_bad_555 : string -> t
Sourceval is_ok : t -> bool
Sourceval is_permanent_error : t -> bool
Sourceval decorate : t -> additional_lines:string list -> t
Sourceval to_string : t -> string
Sourceval of_string : string -> t
Sourceval of_bigstring : Core.Bigstring.t -> t
Sourcetype partial
Sourceval parse : ?partial:partial -> string -> [ `Done of t | `Partial of partial ]
OCaml

Innovation. Community. Security.