1.0.0 • Published 2 years ago

@superlogica/super-email-client-js v1.0.0

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

Super e-mail Client JS

What is Super e-mail Client?

lib JS for send e-mail from Superlógica e-mail service

Getting started

To install the lib just run the command:

npm install @superlogica/super-email-client-js

Ready!

Now you can use the available interfaces and the adapter.

How it works?

The most basic possible use is to import default (adapter) and use it, as in the following example:

import { SuperEmail } from '@superlogica/super-email-client-js';

const superEmail = new SuperEmail({
    apiKey: 'MY_API_KEY'
})

await superEmail.send({
    to: 'email@teste.com',
    from: 'sender@teste.com',
    subject: 'Hello, World',
    text: 'Hi!',
    html: '<strong>Superlógica</strong>'
})