Skip to content

ianstormtaylor/mailto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailto

Programmatically open the user's email client.

Installation

$ component install ianstormtaylor/mailto

Example

var mailto = require('mailto');

mailto('[email protected]', {
  subject: 'The mailto component...',
  body: 'It works!'
});

API

mailto(email, options)

Draft a new message to an email address with options:

{
  subject: String,
  body: String
}

License

MIT

About

Programmatically open the user's email client.

Resources

Stars

Watchers

Forks

Packages

No packages published