@storyous/mailer
v1.0.6
Published
## Usage
Downloads
1
Keywords
Readme
mailer
Usage
import mailer from '@storyous/mailer';
const sender = mailer.createSender({
from: '[email protected]',
to: '[email protected]',
template: 'some.template',
defaultLang: 'cs',
});
await sender.send({
bcc: ['[email protected]', '[email protected]'],
cc: ['[email protected]', '[email protected]'],
replyTo: '[email protected]',
lang: 'en',
});