> For the complete documentation index, see [llms.txt](https://hifunnel.gitbook.io/hifunnel-help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hifunnel.gitbook.io/hifunnel-help-center/documentation/website/page/how-to-add-a-mailto-link-with-a-cta.md).

# Add a Mailto Link with a CTA

Learn how to create mailto links (mailto:) with optional subject lines, CC, BCC, and pre-filled body text for CTA buttons in Hifunnel.

A **mailto link** is a clickable button or text link that automatically opens your site visitor's default email client (such as Outlook, Apple Mail, or Gmail) with a new email draft pre-addressed to your support or sales email.

In Hifunnel, adding a mailto link to Call to Action (CTA) buttons or contact widgets allows potential clients to reach you instantly without filling out lengthy forms.

***

## Basic Mailto Link Syntax

To create a basic email link, use the `mailto:` prefix followed by your email address:

* **Basic Syntax**: `mailto:[your-email@domain.com]`
* **Example**: `mailto:support@hifunnel.vn`

***

## Advanced Mailto Parameters (Subject, CC, BCC, Body)

You can extend your mailto links to automatically pre-fill email parameters such as Subject line, CC, BCC, and initial Body message:

* **Subject Line**: `?subject=Inquiry%20About%20Course` *(Note: Use `%20` for spaces)*
* **CC Recipient**: `?cc=sales@hifunnel.vn`
* **BCC Recipient**: `?bcc=audit@hifunnel.vn`
* **Body Text**: `?body=Hello%20Hifunnel%20Team,%0A%0AI%20would%20like%20to%20learn%20more.` *(Note: Use `%0A` for line breaks)*

### Combining Multiple Parameters

When combining multiple parameters, use `?` for the first parameter and `&` for subsequent parameters:

* **Full Example**: `mailto:support@hifunnel.vn?subject=Course%20Inquiry&body=Hi%20there,%20I'm%20interested%20in%20your%20coaching%20program.`

***

## How to Add a Mailto Link to a CTA Button

{% stepper %}
{% step %}

#### Step 1: Select CTA Button

In the Page Builder canvas, click the **Button / CTA Widget** you want to configure (e.g., "Email Support Now").
{% endstep %}

{% step %}

#### Step 2: Open Button Action Settings

In the left sidebar settings panel, locate **Button Action** (or Link Destination).
{% endstep %}

{% step %}

#### Step 3: Select "Go to a URL"

In the action dropdown, select **Go to a URL**.
{% endstep %}

{% step %}

#### Step 4: Enter Mailto URL

In the URL text field, paste your mailto string (e.g., `mailto:support@hifunnel.vn?subject=Support%20Request`).
{% endstep %}

{% step %}

#### Step 5: Save Changes

Click **Save** in the upper toolbar.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Testing Your Mailto Button:** Publish or preview your page and click the CTA button. Confirm that your default email app opens with the recipient email and subject line pre-filled as expected.
{% endhint %}
