Go to file
Nicolai Ort f6933649e2 Updated readme 2020-08-29 14:10:03 +02:00
src Removed min html 2020-08-29 14:07:36 +02:00
.csslintrc Now based on mailtoui 2020-08-29 13:55:43 +02:00
.eslintignore Now based on mailtoui 2020-08-29 13:55:43 +02:00
.eslintrc Now based on mailtoui 2020-08-29 13:55:43 +02:00
.gitignore Now ignoring the dist directory 2020-08-29 14:08:00 +02:00
README.md Updated readme 2020-08-29 14:10:03 +02:00
gulpfile.js Removed all the demo stuff 2020-08-29 14:02:59 +02:00
package-lock.json renamed to mailymaily 2020-08-29 13:59:02 +02:00
package.json Added build script 2020-08-29 14:06:14 +02:00

README.md

Introduction

mailymaily is a JavaScript library that enhances your mailto links with a convenient user interface. It gives your users the flexibility to compose a new message using a browser-based email client or their default local email app.

mailymaily is ideal for static sites or any other site where you don't want to spend time setting up a "Contact Us" form solution.

Build

yarn && yarn build

Quick Setup

STEP 1

Add mailymaily to your body.

<body>
    ...
    ...
    <script src="assets/mailymaily-min.js"></script>
</body>

STEP 2

Attach your mailto link to mailymaily by adding the class mailymaily to the <a> tag.

<a class="mailymaily" href="mailto:tony.stark@example.com">Contact Tony</a>

That's it! Your mailto link is now using mailymaily. Refresh your page and try it out.