• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • async_smtp

  • Documentation
ON THIS PAGE
  • Libraries
    • async_smtp
    • async_smtp.types
    • async_smtp.command
    • async_smtp.tools
package async_smtp
  • async_smtp
    • Async_smtp
      • Multispool
        • For_testing
          • Lexicographic_time_order_name_generator
            • Unique_name
          • Make
            • Data_file
            • Entry
              • Direct
            • Expert
              • Checked_out_entry
              • Queue_reader
            • Queue_reader
            • S
              • Data
              • Metadata
              • Name_generator
                • Unique_name
              • Queue
              • Throttle
            • Unique_name
        • Make
          • Data_file
          • Entry
            • Direct
          • Expert
            • Checked_out_entry
            • Queue_reader
          • Queue_reader
          • S
            • Data
            • Metadata
            • Name_generator
              • Unique_name
            • Queue
            • Throttle
          • Unique_name
        • Monitor
          • Make
            • Daemon
            • Dir
            • Event
              • Map
                • Key
                • Provide_bin_io
                  • Key
                • Provide_hash
                  • Key
                • Provide_of_sexp
                  • Key
                • Tree
                  • Provide_of_sexp
                    • K
              • Replace_polymorphic_compare
              • Set
                • Elt
                • Named
                • Provide_bin_io
                  • Elt
                • Provide_hash
                  • Elt
                • Provide_of_sexp
                  • Elt
                • Tree
                  • Named
                  • Provide_of_sexp
                    • Elt
            • File_with_mtime
            • Limits
            • Problem
              • Map
                • Key
                • Provide_bin_io
                  • Key
                • Provide_hash
                  • Key
                • Provide_of_sexp
                  • Key
                • Tree
                  • Provide_of_sexp
                    • K
              • Replace_polymorphic_compare
              • Set
                • Elt
                • Named
                • Provide_bin_io
                  • Elt
                • Provide_hash
                  • Elt
                • Provide_of_sexp
                  • Elt
                • Tree
                  • Named
                  • Provide_of_sexp
                    • Elt
            • S
              • Data
              • Metadata
              • Name_generator
                • Unique_name
              • Queue
              • Throttle
            • Spec
      • Private
        • Client_cache
          • Address_and_route
            • Fields
              • Direct
            • Hash_queue
              • Key
            • Hash_set
              • Provide_bin_io
                • X
              • Provide_of_sexp
                • X
            • Map
              • Key
              • Provide_bin_io
                • Key
              • Provide_hash
                • Key
              • Provide_of_sexp
                • Key
              • Tree
                • Provide_of_sexp
                  • K
            • Replace_polymorphic_compare
            • Set
              • Elt
              • Named
              • Provide_bin_io
                • Elt
              • Provide_hash
                • Elt
              • Provide_of_sexp
                • Elt
              • Tree
                • Named
                • Provide_of_sexp
                  • Elt
            • Table
              • Provide_bin_io
                • Key
              • Provide_of_sexp
                • Key
          • Status
            • Fields
              • Direct
            • Key
              • Hash_queue
                • Key
              • Hash_set
                • Provide_bin_io
                  • X
                • Provide_of_sexp
                  • X
              • Map
                • Key
                • Provide_bin_io
                  • Key
                • Provide_hash
                  • Key
                • Provide_of_sexp
                  • Key
                • Tree
                  • Provide_of_sexp
                    • K
              • Replace_polymorphic_compare
              • Set
                • Elt
                • Named
                • Provide_bin_io
                  • Elt
                • Provide_hash
                  • Elt
                • Provide_of_sexp
                  • Elt
                • Tree
                  • Named
                  • Provide_of_sexp
                    • Elt
              • Table
                • Provide_bin_io
                  • Key
                • Provide_of_sexp
                  • Key
            • Resource
              • Fields
                • Direct
            • Resource_list
              • Fields
                • Direct
          • Tcp
        • Message
          • Data
          • Id
            • Hash_queue
              • Key
            • Hash_set
              • Provide_bin_io
                • X
              • Provide_of_sexp
                • X
            • Map
              • Key
              • Provide_bin_io
                • Key
              • Provide_hash
                • Key
              • Provide_of_sexp
                • Key
              • Tree
                • Provide_of_sexp
                  • K
            • Replace_polymorphic_compare
            • Set
              • Elt
              • Named
              • Provide_bin_io
                • Elt
              • Provide_hash
                • Elt
              • Provide_of_sexp
                • Elt
              • Tree
                • Named
                • Provide_of_sexp
                  • Elt
            • Table
              • Provide_bin_io
                • Key
              • Provide_of_sexp
                • Key
          • On_disk
            • Metadata
            • Name_generator
            • Throttle
          • On_disk_spool
            • Data_file
            • Entry
              • Direct
            • Expert
              • Checked_out_entry
              • Queue_reader
            • Queue_reader
            • Unique_name
          • Queue
          • Stable
            • Id
              • V1
            • V1
            • V2
          • Status
        • Message_spool
          • Entry
          • On_disk_monitor
            • Daemon
            • Dir
            • Event
              • Map
                • Key
                • Provide_bin_io
                  • Key
                • Provide_hash
                  • Key
                • Provide_of_sexp
                  • Key
                • Tree
                  • Provide_of_sexp
                    • K
              • Replace_polymorphic_compare
              • Set
                • Elt
                • Named
                • Provide_bin_io
                  • Elt
                • Provide_hash
                  • Elt
                • Provide_of_sexp
                  • Elt
                • Tree
                  • Named
                  • Provide_of_sexp
                    • Elt
            • File_with_mtime
            • Limits
            • Problem
              • Map
                • Key
                • Provide_bin_io
                  • Key
                • Provide_hash
                  • Key
                • Provide_of_sexp
                  • Key
                • Tree
                  • Provide_of_sexp
                    • K
              • Replace_polymorphic_compare
              • Set
                • Elt
                • Named
                • Provide_bin_io
                  • Elt
                • Provide_hash
                  • Elt
                • Provide_of_sexp
                  • Elt
                • Tree
                  • Named
                  • Provide_of_sexp
                    • Elt
            • Spec
      • Simplemail
        • Envelope_status
        • Expert
      • Smtp_auth
        • Client
        • Login
          • Client
            • C
          • Server
            • Session
        • Plain
          • Client
            • C
          • Server
            • Session
        • Server
      • Smtp_client
        • Bsmtp
        • Config
          • Domain_suffix
            • Hash_queue
              • Key
            • Hash_set
              • Provide_bin_io
                • X
              • Provide_of_sexp
                • X
            • Map
              • Key
              • Provide_bin_io
                • Key
              • Provide_hash
                • Key
              • Provide_of_sexp
                • Key
              • Tree
                • Provide_of_sexp
                  • K
            • Replace_polymorphic_compare
            • Set
              • Elt
              • Named
              • Provide_bin_io
                • Elt
              • Provide_hash
                • Elt
              • Provide_of_sexp
                • Elt
              • Tree
                • Named
                • Provide_of_sexp
                  • Elt
            • Table
              • Provide_bin_io
                • Key
              • Provide_of_sexp
                • Key
          • Fields
            • Direct
          • Tls
            • Fields
              • Direct
        • Credentials
          • Mech
          • Stable
            • Login
              • V1
            • V1
            • V2
            • V3
        • Envelope_status
        • Expert
        • For_test
        • Peer_info
        • Raw
          • Peer_info
        • Tcp
      • Smtp_command
      • Smtp_events
        • Event
          • Envelope_received
      • Smtp_expect_test_helper
      • Smtp_mail_log
        • Component
          • Hash_queue
            • Key
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • Flows
          • Id
            • Hash_queue
              • Key
            • Hash_set
              • Provide_bin_io
                • X
              • Provide_of_sexp
                • X
            • Map
              • Key
              • Provide_bin_io
                • Key
              • Provide_hash
                • Key
              • Provide_of_sexp
                • Key
              • Tree
                • Provide_of_sexp
                  • K
            • Replace_polymorphic_compare
            • Set
              • Elt
              • Named
              • Provide_bin_io
                • Elt
              • Provide_hash
                • Elt
              • Provide_of_sexp
                • Elt
              • Tree
                • Named
                • Provide_of_sexp
                  • Elt
            • Table
              • Provide_bin_io
                • Key
              • Provide_of_sexp
                • Key
          • Kind
        • Level
        • Mail_fingerprint
          • Fields
            • Direct
        • Message
          • Action
            • Hash_queue
              • Key
            • Hash_set
              • Provide_bin_io
                • X
              • Provide_of_sexp
                • X
            • Map
              • Key
              • Provide_bin_io
                • Key
              • Provide_hash
                • Key
              • Provide_of_sexp
                • Key
              • Tree
                • Provide_of_sexp
                  • K
            • Replace_polymorphic_compare
            • Set
              • Elt
              • Named
              • Provide_bin_io
                • Elt
              • Provide_hash
                • Elt
              • Provide_of_sexp
                • Elt
              • Tree
                • Named
                • Provide_of_sexp
                  • Elt
            • Table
              • Provide_bin_io
                • Key
              • Provide_of_sexp
                • Key
        • Session_marker
        • Stable
          • Flows
            • V1
      • Smtp_mail_log_tags
      • Smtp_monad
        • Let_syntax
          • Let_syntax
            • Open_on_rhs
        • Monad_infix
      • Smtp_quarantine_reason
        • Stable
          • V1
      • Smtp_reply
      • Smtp_rpc_intf
        • Cache
        • Gc
        • Monitor
        • Process
        • Smtp_events
        • Spool
      • Smtp_server
        • Config
          • Fields
            • Direct
          • Tls
            • Fields
              • Direct
          • Where_to_listen
        • For_test
          • P
            • Envelope
            • Session
        • Make
          • P
            • Envelope
            • Session
        • Plugin
          • Auth
          • Envelope
          • Extension
          • S
            • Envelope
            • Session
          • Session
          • Simple
            • Envelope
              • Fields
                • Direct
            • Session
              • Fields
                • Direct
          • Start_tls
        • S
      • Smtp_session
        • Fields
          • Direct
      • Smtp_spool
        • Event
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
        • Message_id
          • Hash_queue
            • Key
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • Recover_info
        • Send_info
        • Spooled_message_info
        • Stable
          • Event
            • V1
          • Message_id
            • V1
          • Recover_info
            • V1
          • Send_info
            • V1
          • Status
            • V1
        • Status
      • Smtp_spool_monitor
        • Daemon
        • Dir
        • Event
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
        • File_with_mtime
        • Limits
        • Problem
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
        • Spec
      • Smtp_spool_queue
  • async_smtp.command
    • Async_smtp_command
      • Bsmtp
      • Common
        • Command
      • Gc_admin
      • Spool
        • Count
        • Events
        • Freeze
        • Recover
        • Remove
        • Send
        • Set_max_send_jobs
        • Status
          • Format
  • async_smtp.tools
    • Async_smtp_tools
      • Content_filter_server
      • Crypto
      • Headers
        • Config
          • Header_cond
          • Listed_header_cond
        • Header
      • Log_selector
        • Base
      • Session
        • Inbound_envelope
        • Outbound_envelope
        • Summary
      • Std
      • Stress_test
      • Transform_email_stream
        • Bodies
          • Rewrite
        • Config
        • Envelopes
      • Util
        • Address
        • Hex
        • Host_and_port
        • Smtp_client_config
  • async_smtp.types
    • Async_smtp_types
      • Async_smtp_types_stable
        • Smtp_envelope
          • Id
            • V1
          • Info
            • V1
            • V2
          • Retry_interval
            • V2
          • Sender
            • V1
          • Sender_argument
            • V1
          • V1
          • V2
        • Smtp_socket_address
          • V1
      • Smtp_envelope
        • Bodiless
          • Hash_queue
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Routed
          • Set
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • Container
          • Make_with_headers
            • S
          • Make_with_info
            • S
          • With_headers
          • With_info
        • Hash_queue
        • Hash_set
          • Provide_bin_io
            • X
          • Provide_of_sexp
            • X
        • Id
          • Hash_queue
            • Key
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Stable
            • V1
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • Info
          • Hash_queue
            • Key
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Stable
            • V1
            • V2
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • Map
          • Provide_bin_io
            • Key
          • Provide_hash
            • Key
          • Provide_of_sexp
            • Key
          • Tree
            • Provide_of_sexp
              • K
        • Replace_polymorphic_compare
        • Retry_interval
          • Stable
            • V2
        • Routed
          • Batch
            • Fields
              • Direct
          • Hash_queue
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • Selector
          • Base
        • Sender
          • Caseless
            • Hash_queue
              • Key
            • Hash_set
              • Provide_bin_io
                • X
              • Provide_of_sexp
                • X
            • Map
              • Key
              • Provide_bin_io
                • Key
              • Provide_hash
                • Key
              • Provide_of_sexp
                • Key
              • Tree
                • Provide_of_sexp
                  • K
            • Replace_polymorphic_compare
            • Set
              • Elt
              • Named
              • Provide_bin_io
                • Elt
              • Provide_hash
                • Elt
              • Provide_of_sexp
                • Elt
              • Tree
                • Named
                • Provide_of_sexp
                  • Elt
            • Table
              • Provide_bin_io
                • Key
              • Provide_of_sexp
                • Key
          • Hash_queue
            • Key
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Stable
            • V1
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • Sender_argument
          • Stable
            • V1
        • Set
          • Named
          • Provide_bin_io
            • Elt
          • Provide_hash
            • Elt
          • Provide_of_sexp
            • Elt
          • Tree
            • Named
            • Provide_of_sexp
              • Elt
        • Stable
          • V1
          • V2
        • Table
          • Provide_bin_io
            • Key
          • Provide_of_sexp
            • Key
      • Smtp_extension
      • Smtp_socket_address
        • Hash_queue
          • Key
        • Hash_set
          • Provide_bin_io
            • X
          • Provide_of_sexp
            • X
        • Map
          • Key
          • Provide_bin_io
            • Key
          • Provide_hash
            • Key
          • Provide_of_sexp
            • Key
          • Tree
            • Provide_of_sexp
              • K
        • Replace_polymorphic_compare
        • Set
          • Elt