npm package: @objectif-lune/node-red-contrib-smtp-mail
Description: Node-RED node to send email content generated by OL Connect using SMTP services
Author: Upland Software Inc.
Latest version: 1.0.1

# Node-RED node to send email content generated by OL Connect technology using SMTP services

This `smtp mail` node sends pre-rendered email content, created by the `email content` node of the [OL Connect package for Node-RED](https://www.npmjs.com/package/@objectif-lune/node-red-contrib-connect), via an SMTP service of your choosing.

## Features
- Sends pre-rendered email content, created by the `email content` node of the [OL Connect package for Node-RED](https://www.npmjs.com/package/@objectif-lune/node-red-contrib-connect).
- Uses any SMTP service
- Securely send using TLS encryption
- Accepts multiple replyTo addressees
- Sends messages to a test address.

## Installation
Use the `Manage Palette` option from the `Node-RED`-menu, or run the following command in your Node-RED user directory - typically `~/.node-red`

```
npm install @objectif-lune/node-red-contrib-smtp-mail
```

Obviously, you must have OL Connect installed on a server that can be reached from the one where Node-RED is installed, otherwise you won't be able to perform any automation tasks.

## Usage
This `smtp mail` node should be placed after the `email content` node of the [OL Connect package for Node-RED](https://www.npmjs.com/package/@objectif-lune/node-red-contrib-connect). The node takes its information from the `messages` array in `msg.payload`. This data could be modified and extended using a `function` node (for example to add static attachments).

To send an email SMTP host and port information is required. This is as well as a userId and password, but only if authorisation is necessary.

Note also that this node requires you to specify the connection to the OL Connect Server.

## Support
OL Connect Automate is supported through the [OL Care program](https://uplandsoftware.com/objectiflune/customer-support-and-resources/). Feel free to visit the [OL Connect Automate forum](https://olforum.uplandsoftware.com/c/olcnrs/38) to post questions, comments and suggestions.

## License
Copyright 2025 Upland Software Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.