metamail
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

Metarhia mail subsystem

ci status snyk npm version npm downloads/month npm downloads license

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.

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i metamail

    Homepage

    metarhia.com

    Weekly Downloads

    1

    Version

    0.0.0

    License

    MIT

    Unpacked Size

    4.58 kB

    Total Files

    7

    Last publish

    Collaborators

    • timur.shemsedinov