How do I set up a button so it opens email client when clicked?

This article will step you through editing your site so you can change the button from a link to an email.

  1. When in the Mixo editor, open the hero section in the left hand side
Editor
  1. On the default site, hide the Signup form.
Signup
  1. Show the button. Update the button to “Contact us” and then update the Button link to mailto:xxx@yyy.com. See below for details for how to configure mailto.
Update
  1. Save and publish your site

mailto: is a type of hyperlink that allows you to create a link to an email address. When users click on a mailto: link, it opens their default email client (such as Gmail, Outlook, or Yahoo Mail) with the recipient’s email address already populated in the “To” field. The user can then compose and send an email to that address directly from their email client.

Mailto: links are used to open a user’s default email client and create a new email message. Here are some options that can be added to a mailto: link:

  1. Subject line: This option adds a subject line to the email message. Example:

mailto:example@email.com?subject=New%20Project

This link will open the user’s email client with a new email message with the subject line “New Project”.

  1. Body text: This option adds pre-written text to the email message. Example:

mailto:example@email.com?body=Hello%20World

This link will open the user’s email client with a new email message with the pre-written text “Hello World” in the body.

  1. CC: This option adds one or more email addresses to the CC field of the email message. Example:

mailto:example@email.com?cc=example1@email.com,example2@email.com

This link will open the user’s email client with a new email message with two email addresses added to the CC field.

User avatarUser avatarUser avatarUser avatarUser avatarUser avatarUser avatarUser avatarUser avatarUser avatarUser avatarUser avatarUser avatar

Join our community of makers turning their ideas into startups.

“ I was creating many websites before using Wordpress and Joomla. Nothing was as fast as Mixo. The help with AI, the templates and automated guess what is good to present the brand is awesome. ” - Alexander Horvath