2.0.0 • Published 8 months ago

quickly-notify v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Why

Quickly Notify is an agile and user-friendly service that allows developers to send emails efficiently. Designed to simplify communication with users, Quickly Notify ensures quick integration and reliable delivery of emails.

.env (create this file).

# Default settings for the Google server
SMTP_HOST=smtp.gmail.com

# Default  settings for the Google server
SMTP_PORT=465

# Default settings for the Google server
SMTP_SECURE=true

# This email must be registered as a developer in Gmail
SMTP_USER="test.user1@example.com"

# Key assigned by Gmail
SMTP_PASS="1An3C0FZaNU" 

Installation:

npm install quickly-notify

Use to library:

const { quickMailNotification } = require("quickly-notify");

Necessary parameters:

  1. Email for client (client).
  2. Who sends it (author).
  3. Type of service (message).
  4. This is the body of the email that will reach your clients (htmlConntent)
const  client = "test.user@example.com"
const  author= "Test Subject"
const  message= "This is a test message for product change."
const htmlContent = "<h1>Example body email<h1/>";

Async context:

(async () => {
  try {
    const response = await quickMailNotification(
     client, 
      author,
      message,
      htmlContent
    );
    return response;
  } catch (error) {
    console.error(error);
  }
})();
1.0.0

8 months ago

2.0.0

8 months ago

0.0.6-alpha.0

9 months ago

0.0.5-alpha.0

9 months ago

0.0.8-0

9 months ago

0.0.4-alpha.0

9 months ago

0.0.3-alpha.0

9 months ago

0.0.2-alpha.0

9 months ago