@superlogica/super-email-client-js
v1.0.0
Published
Client para envio de e-mail utilizando o serviço de e-mail da Superlógica
Downloads
3
Readme
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 protected]',
from: '[email protected]',
subject: 'Hello, World',
text: 'Hi!',
html: '<strong>Superlógica</strong>'
})