0.1.1 • Published 5 years ago

ember-mail-to v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

ember-mail-to

Build Status npm Ember Observer Score

Ember component to create HTML mailto links.

Installation

ember install ember-mail-to

Usage

<MailTo
  @to='to@gmail.com'
  @cc={{array 'cc1@gmail.com' 'cc2@gmail.com'}}
  @bcc='bcc@gmail.com'
  @subject='Email Subject'
  @body='Email Body'
>
  Click here to send an email
</MailTo>

Creates the following element:

<a href="mailto:to@gmail.com?cc=cc1@gmail.com,cc2@gmail.com&amp;bcc=bcc@gmail.com&amp;subject=Email%20Subject&amp;body=Email%20Body">
  Click here to send an email
</a>

License

This project is licensed under the MIT License.