1.0.0 • Published 8 years ago

gmail-link v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

gmail-link Build Status

Generate a Gmail compose link

Install

$ npm install --save gmail-link

Usage

var gmailLink = require('mailto-link')

gmailLink({to: 'bvdrucker@gmail', subject: 'Nice mailto lib'})
//=> https://mail.google.com/mail/?fs=1&su=Nice%20gmail%20lib&to=bvdrucker%40gmail.com&view=cm

API

gmailLink(options) -> string

options

Required
Type: object

to / cc / bcc

Type: string / array[string]

List of emails to send to.

subject

Type: string

The email subject.

body

Type: string

The email body.

License

MIT © Ben Drucker