1.0.6 • Published 3 years ago
@storyous/mailer v1.0.6
mailer
Usage
import mailer from '@storyous/mailer';
const sender = mailer.createSender({
    from: 'test@storyous.cz',
    to: 'test@storyous.cz',
    template: 'some.template',
    defaultLang: 'cs',
});
 await sender.send({
            bcc: ['dev@storyous.cz', 'dev2@storyous.cz'],
            cc: ['dev@storyous.cz', 'dev2@storyous.cz'],
            replyTo: 'dev@storyous.cz',
            lang: 'en',
        });