Skip to content

stackhero-io/postfixGettingStarted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)