smtp
An SMTP client (RFC 5321) written in Ecko, over std.net raw sockets + STARTTLS.
ecko get github.com/ecko-lang/smtp-client
import smtp
ecko get records this under smtp-client, which is not a valid Ecko identifier. Alias it to smtp in the dependencies block of your ecko.json.
Declares net. A capability is only advisory in the manifest: what the package actually gets is the grant you give it when you import it.
Version 0.30.0 - source - MIT.
send(server, msg)
send(server, msg) -> { accepted, reply } server: { host, port?, tls?, user?, pass?, verify?, helo?, mock? } msg: { from, to (string|list), subject, body, date?, headers? }
The password may be a secret - it is revealed only for the AUTH exchange.