Advanced Mailto Links

by WP OnlineSupport


A simple way to enhance your mailto links with a convenient user interface.

Check Demo and Features for additional information.

Advanced Mailto Links is a WordPress plugin that enhances your mailto links. This tiny WordPress plugin adds extra features on mailto links, when user clicks on any mailto links, he/she has the option to compose an email in gmail, yahoo, outlook, email client app or copy the eamil. The plugin is compatible with all modern browsers and latest WordPress version.

Shortcode Example


You can also display mailto link in template/php file:

<?php echo do_shortcode('[amailto_link]'); ?>

Use following parameters with shortcode

[amailto_link to="" subject="Hello" cc="" body="Hope you are doing well" text="Contact us"]
  • to : [amailto_link to=””] (Add the mail id to mailto).
  • subject : [amailto_link subject=”Hello”] (Subject for mail ).
  • cc: [amailto_link cc=””] (CC for mail (if any)).
  • body : [amailto_link body=”Hope you are doing well”] (Body content part for mail (if any)).
  • text : [amailto_link text=”Contect us”] (Text for mail where user will click.).


If you do not want to use the shortcode and also you have aready added “mailto” in your theme OR template file then just add class=”mailtoui”

It will replace Default email app to Advanced Mailto Link. For example:

<a class="mailtoui" href="">Send Mail</a>

Plugin is created with MailtoUI : MailtoUI is an open source 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. MailtoUI is written in vanilla JavaScript, so it’s nice and lean with no dependencies to worry about. It works across virtually all devices and modern browsers for desktop and mobile.


Last updated:
Active installations:
WordPress Version:
3.1 or higher
Tested up to: