Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 864 Bytes

File metadata and controls

30 lines (18 loc) · 864 Bytes

Postfix

How to send data from Node.js to Postfix

You can find here some examples of Node.js code to send data to a Postfix server.

These examples are designed to run with a Stackhero Postfix service. You'll more informations about Stackhero here:

How to use

Clone the repository

git clone https://github.com/stackhero-io/documentations.git
cd documentations/content/postfix/codeExamples/

Test your Postfix service

First, you have to fill the .env-example file and rename it to .env.

Then you can run the script with npm run start.

This example will send you an email. Check your inbox :)