# EMAILX > [HTML Version](emailxsbr.htm) **xcall EMAILX, opflags, cfgfile, to, header, body, status \{,from, attachments, signature, errmsg, socket, server, host, username, password\}** EMAILX.SBX is a 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 the subroutine [OAUTH2](oauth2_sbr.htm.md) 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 but is an extra-cost option; details in [EMAILX Adminisetera](emailxadminicetera.htm.md). **Subtopics** - [EMAILX Parameters](emailxparameters.htm.md) - [EMAILX Config File](emailxconfigfile.htm.md) - [EMAILX Header Specifications](emailxheaderspecifications.htm.md) - [EMAILX Scenarios](emailxscenarios.htm.md) - [EMAILX Troubleshooting](emailxtroubleshooting.htm.md) - [EMAILX Revision History](emailxrevisionhistory.htm.md) - [EMAILX Adminisetera](emailxadminicetera.htm.md)