package sendmail
Implementation of the sendmail command
Install
Dune Dependency
Authors
Maintainers
Sources
colombe-0.7.0.tbz
sha256=6dcf2b125140de0ac956b6930226b2546be53bb33248783270e477d5463b58e6
sha512=c1db3b96657be97469627b6e1bf7d9ddcd088957056d8aea1c8a0cad0750a37de9749dafa7479c86d1f6a92fd660a1a8f6fca6fa8a48a4e2c75ebc48edb910c3
doc/sendmail/Sendmail/index.html
Module Sendmail
Source
Source
type error = [
| `Protocol of [ Colombe.Request.Encoder.error | Colombe.Reply.Decoder.error | `Unexpected_response of int * string list | `Invalid_base64_value of string | `Invalid_login_challenge of string ]
| `Unsupported_mechanism
| `Encryption_required
| `Weak_mechanism
| `Authentication_rejected
| `Authentication_failed
| `Authentication_required
]
Source
val sendmail :
's Colombe.Sigs.impl ->
('flow, 's) Colombe.Sigs.rdwr ->
'flow ->
Colombe.State.Context.t ->
?authentication:authentication ->
domain:Colombe.Domain.t ->
reverse_path ->
forward_path list ->
(string * int * int, 's) stream ->
((unit, error) result, 's) Colombe.Sigs.io
sendmail impl rdwr flow ctx ?authentication ~domain sender recipients mail
where:
impl
is the scheduler (unix, lwt or async)rdwr
read/write syscallsflow
witness of the flow (can be a socket)ctx
context used by the processauthentication
authentication information used by the processsender
sender of the mailrecipients
recipients of the mailmail
stream of the mail
This process try to send a mail according RFC4409
. The process should be wrapped into a secured flow (like TLS). For a real use-case of sendmail
, you should look into sendmail-lwt
which takes care about the TLS layer.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>