metamail
v0.0.0
Published
Metarhia mail subsystem
Downloads
1
Maintainers
Readme
Metarhia mail subsystem
Send mail
const metamail = require('metamail');
const auth = { user: 'marcus', password: 'marcus' };
const smtp = metamail.smtp({ host: 'smtp.domain', port: 465, auth });
const mail = await smtp.send({
from: 'Marcus Aurelius <[email protected]>',
to: 'Renatus Cartesius <[email protected]>',
subject: 'Hola!',
text: 'Ciao mondo!',
html: '<h1>Ciao mondo!</h1>',
});
console.log({ mail });
License & Contributors
Copyright (c) 2022 Metarhia contributors.
Metamail is MIT licensed.
Metamail is a part of Metarhia technology stack.