1.1.4 • Published 2 years ago

@nowak-ds/mailer v1.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Mailer

This module can be used to send emails.

Installation

npm i @nowak-ds/mailer

Configuration

Add a file to your root folder and name it mailer-config.json. Add the following content to that file and replace the information with the correct values.

{
    "port": 5010,
    "host": "your-server:4010",
    "smtp": {
        "host": "smtp.mail.com",
        "port": 465,
        "secure": true,
        "auth": {
            "user": "you@mail.com",
            "pass": "savePW123"
        }
    }
}

port

This is the port where the application will be available.

smtp

The details of the email account that shall be used to send emails.

Execute

Simply call:

node node_modules/@nowak-ds/mailer/index.js

Or create a new script in your package.json file:

"scripts": {
    "start-mailer": "node node_modules/@nowak-ds/mailer/index.js"
 }
1.1.1

2 years ago

1.1.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago