package sendmail
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Implementation of the sendmail command
Install
dune-project
Dependency
Authors
Maintainers
Sources
colombe-v0.4.2.tbz
sha256=d01bf0e0378b57f706a6024f6204388227ff76a3bd7bc9a3703b74ef4490c044
sha512=b8a21cba6784353bcea7234e124a98d1d4796820c60d8b4a71bff2d1657f921770e2c991af52bda6e227eab4a1f487ee0d988b2760ddb681a7a375b70e62bb6e
doc/sendmail.starttls/Sendmail_with_starttls/index.html
Module Sendmail_with_starttlsSource
Source
module Make_with_tls
(Value : VALUE) :
S
with type 'x send = 'x Value.send
and type 'x recv = 'x Value.recv
and type Value.error = Value.error
and type encoder = Context_with_tls.encoder
and type decoder = Context_with_tls.decoderSource
type error = [ | `Tls of [ `Protocol of Value.error | `Tls_alert of Tls.Packet.alert_type | `Tls_failure of Tls.Engine.failure ]| `Protocol of [ `Protocol of Value.error | `Tls_alert of Tls.Packet.alert_type | `Tls_failure of Tls.Engine.failure ]| `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 ->
Context_with_tls.t ->
Tls.Config.client ->
?authentication:authentication ->
domain:Colombe.Domain.t ->
reverse_path ->
forward_path list ->
(string * int * int, 's) stream ->
((unit, error) result, 's) Colombe.Sigs.iosendmail impl rdwr flow ctx tls_config ?authentication ~domain sender recipients mail where:
implis the scheduler (unix, lwt or async)rdwrread/write syscallflowwitness of the flow (can be a socket)ctxcontext used by the processtls_configTLS configuration used by STARTTLSauthenticationauthentication information used by the processsendersender of the mailrecipientsrecipients of the mailmailstream of the mail
This process try to send a mail according RFC4409. It ensures to use STARTTLS (eg. RFC3207) while the process according TLS configuration tls_config. If authentication is given, it does the authentication only while TLS flow. Mail is sended only while TLS flow.
The stream mail must respects same assumptions as Sendmail_lwt.sendmail.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>