EMAILX

xcall EMAILX, opflags, cfgfile, to, header, body, status {,from, attachments, signature, errmsg, socket, server, host, username, password}

EMAILX.SBX is an external subroutine that allows an application to communicate with an SMTP server to send email. It supports the following general features:

•   Plain text or HTML formatted message content

•   Up to 10 attachments

•   Basic and OAUTH2 authentication (use XCALL OAUTH2 to obtain the access token)

•   SSL/TLS

•   STARTTLS

•   No restriction on headers

See the following sections for more information.

Note that EMAILX is not included in the normal A-Shell distribution package; details in EMAILX Adminicetera.