Namespace
Runtime\PS\Mail
Package mail registers the mail bindings: the mail() function and the Mail class, both of which send through a server the host configured and named.
Description
Package mail registers the mail bindings: the mail() function and the Mail class, both of which send through a server the host configured and named.
A script names a server. It does not spell one: no binding accepts a host, a username or a password, and none returns one back out of the object a binding returns. The credentials live in a model.MailProvider the host builds from its configuration, which reads them at the moment of a delivery and returns the outcome alone.
SMTP is the protocol the package speaks, not the subject it models and it names the conversation in provider.go and nothing a script types.
- Package
stdlib/ps/mailgodoc
Classes
Functions
A call writes the bare name or the name under this area:
\Runtime\PS\Mail\mail().