object
smtp_process_transport
Process-backed TLS transport support for the SMTP client.
Availability:
logtalk_load(smtp(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-13
Compilation flags:
static, context_switching_callsRemarks:
(none)
Inherited public predicates:
(none)
Public predicates
open/8
Opens an implicit TLS or STARTTLS SMTP connection using OpenSSL.
Compilation flags:
staticTemplate:
open(Host,Port,Security,Helo,Executable,ServerName,Options,Connection)Mode and number of proofs:
open(+atom,+integer,+atom,+atom,+atom,+atom,+list,--compound) - one_or_errorstreams/3
Returns the input and output streams for an open process connection.
Compilation flags:
staticTemplate:
streams(Connection,Input,Output)Mode and number of proofs:
streams(+compound,--stream,--stream) - one_or_errorfailure_details/3
Returns the process exit status and standard error output after an OpenSSL connection failure.
Compilation flags:
staticTemplate:
failure_details(Connection,Status,Diagnostic)Mode and number of proofs:
failure_details(+compound,--term,--atom) - oneclose/1
Closes the streams and terminates the OpenSSL process.
Compilation flags:
staticTemplate:
close(Connection)Mode and number of proofs:
close(+compound) - oneProtected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)