Package Exports
- metamail
- metamail/metamail.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (metamail) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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 <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.