# Sending Emails

The node-tcrouter package supports sending emails to multiple recipients.  Note that only basic text is supported for email body content.  Please note that the email feature must be setup through the web based management portal of the device before this functionality will work.

```javascript
const tcr = require(" @phoenixcontactusa/node-tcrouter");

var TCRouter = new tcr("192.168.1.1", 1432, 3000);

//Send an email
//to,subject,body,cc
TCRouter.sendEmail('john@doe.com','Test Email','Hello World','jane@doe.com')
  .then(res => {
    console.log(res);
  })
  .catch(e => {
    console.log(e);
  });
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zmink.gitbook.io/node-tcrouter/guides-1/sending-emails.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
