ember-mail-to

0.1.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i ember-mail-to

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

31.5 kB

Total Files

13

Last publish

Collaborators

  • veelenga