# 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.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.md).

**Subtopics**

- [EMAILX Parameters](emailxparameters.md)

- [EMAILX Config File](emailxconfigfile.md)

- [EMAILX Header Specifications](emailxheaderspecifications.md)

- [EMAILX Scenarios](emailxscenarios.md)

- [EMAILX Troubleshooting](emailxtroubleshooting.md)

- [EMAILX Revision History](emailxrevisionhistory.md)

- [EMAILX Adminisetera](emailxadminicetera.md)