JSPM

metamail

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q9157F
  • License MIT

Metarhia mail subsystem

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

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.