AddToAny email button not working on WordPress

The AddToAny WordPress plug-in is a great tool, makes it very easy to share any web page on your website.

The email button can be problematic though. In some cases only a blank page is opened, and the error message “Please copy & paste if the app did not open:” shows up.

To work around this problem I recommend turning on the “Universal Email Button” feature of AddToAny. This will bring up a menu that allows the suer to select “Google Gmail”, “Outlook.com”, “Yahoo Mail” etc.

First, visit the AddToAny settings page on the WordPress Dashboard (Settings > AddToAny).

AddToAny settingsAddToAny settings

Scroll down to the “Additional JavaScript” section, expand it, and enter in the following code:

var a2a_config = a2a_config || {};
a2a_config.menu_type = "mail";

Click on “Save Changes” at the bottom to save the changes made.

From now on the “plus” button will bring up the email selection options.

AddToAny email optionsAddToAny email options