1.0.11 • Published 11 months ago

simplesend v1.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

simplesend v1.0.11

use our web site to send email simple!!

Installation

Using npm:

$ npm i simplesend
$ npm install simplesend

In Node.js(ESM):

import { sendEmailWithAttachment, sendOnlyEmail } from "simplesend";
const body = {
  user_id: 0, //your user ID //required
  nameFrom: "example.com", // your verify name //required
  emailTo: "email@example.com", //required
  emailBcc: "email@example.com",
  emailCc: "email@example.com",
  emailReplyTo: "email@example.com",
  emailSubject: `example`, //required
  emailBodyType: "html", //required //'html' or 'text'
  emailBodyContent: `
    <a href="https://google.com">google</a>`, //required
  trackingOpen: "yes", //required  //'yes' or 'no'
  trackingClick: "yes", //required  //'yes' or 'no'
  trackingLink: "https://google.com", //if you want to track your click ,you have to provide the link you want to track in your html content
};
const apiKey = "your api key it will provide from our web service";
const filePath = "your/file/path";
//send email with attachment
sendEmailWithAttachment(body, filePath, apiKey);

// without attachment
sendOnlyEmail(body, apiKey);

Note: user our web site to send email simple!!

1.0.11

11 months ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago