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

0.0.1 • Public • Published

sendmail-client

Simple package that allows you to send mails using your standard Mail Application. In contrast to the mailto link this package supports an attachment. Just developed for own needs, if you may request more features i'll implement them. ;)

Requirements

To install, you will need:

  • node-gyp

Installation

yarn add senmail-client

import SendMail from 'sendmail-client';

SendMail.send('ivan@waldboth.com','Hello World','<html><body><h1>Hello World</h1><p>This is a test!</p></body></html>');

Doc

SendMail(recipient: string, subject: string, body: string, attachment?:string):bool

body: HTML or plain. attachment: full path to file.

Package Sidebar

Install

npm i sendmail-client

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

62.5 kB

Total Files

13

Last publish

Collaborators

  • knolperlap