> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/server-api-reference/functions/sendemail.md).

# sendEmail

This server side api function does support the same parameters (Attachements and so on) as ComposeEmail from the client side api. Emails are sent automatically, as there is no UI.

#### Example 1

```javascript
   await brixxServerApi.sendEmail({
            to: ["john.doe@acme.com"],
            text: "Hello World",
            subject: "Demo Email",
        });
```

See also client side api [composeEmail](/brixxbox-documentation/client-api-reference/functions/composeemail.md)
