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 <marcus@metarhia.com>',
to: 'Renatus Cartesius <rene@metarhia.com>',
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.