Button: send mail (with custom subject)


I have several mail icons in many sections on the website.
Icons are set to interactions: mailto:“company mail address”

Is there an option to add individually to every icon preloaded subject?

for example:

  1. “ask me about price with mail button” will open up mail client and puts automatically subject “pricing”
  2. “ask me about availability with mail button” will open up mail client and puts automatically subject “availability”

This is not a particularly good approach. Mailto links are a prime target for bots that harvest email addresses from web pages. It may be best to use a form. That way you can set a subject line for each form. You can have your forms set up in modals so that when links are clicked, the appropriate modal and its form displays. This will help those people who may not use an email client.

Yes, it is possible. You can also add content if you want.
Use the template below.





Hello @piotrek, regarding @Eldar reply I paste an article I saved in my quiver notes regarding this so you can use even more options in the link:

  1. For the fields you want to pre-fill, update the coded text with your content in the code extension:
  • CC - Add additional recipients to your email.


  • BCC - Add additional recipients to your email that your contacts and CC’d recipients won’t see.


  • Subject - Add a subject line to your email.
    Note: Use “%20” to add a space between words in your subject line.


  • Body - Add a personalized message to the body of the email.
    Note: Use “%20” to add a space between words in your body text. Use “%0A” to add a line break.


  1. Copy and paste the code extension to the end of the Email address field. To add multiple extensions, such as the body in addition to the subject line, replace the question mark (?) with an ampersand (&) between the code extensions.



Hope it helps you…

Adicional info if you want to send text in mobiles to a specific number…

Create a button:
<a href="sms:123123123?body=Any text">Link</a>
Or a link:
sms:123123123?body=Any Text

Create a button:
<a href="sms:123123123&body=Any text">Link</a>
Or a link:
sms:123123123&body=Any Text


Will this work in the built-in Blocs form?
When some fills out the form can it go to more than one email of the return side?
I was just ask today if I could at CC or BBC to a form
or have one primary and 2 to 3 other emails

Is this the correct format?
mailto:one@yoursite.com?cc=two-cc@theirsite.com, 3-bbc@thatsite.com

Hello @KBConcepts for that you need a different approach but is easy:

Just go to your exported files, look in “includes” folder for a file “form_XXXXX.php” and edit it in Atom or other app you use to edit code.

And after the $headers .= "From: xxx@yoursite.com\n"; and before the $headers .= "Reply-To: $email_xxxxxx"; you just need to add the following lines:

$headers .= "Cc: cc1@domain.com, cc2@domain.com\r\n";
$headers .= "Bcc: bcc1@domain.com, bcc2@domain.com\r\n";

Hope it helps you, probably @Norm can add this features in an upgrade of forms


Guys this is terrific help. Thank you very much!

Excellent my friend, thank you

@Pealco are you reffering to formHandler.js ?
I did not see anything like what you wrote.

No. go to the folder Includes and in there you have a file called: form_XXXXX.php

1 Like

Tried to send you the file, but can’t find a way to do that.

Just to be clear this the revised
$headers = “MIME-Version: 1.0\r\nContent-type: text/plain; charset=UTF-8\r\n”;
$headers .= “From: name@gmail.com\n”;
$headers .= “Cc: name2@email.com, email3@email.com\r\n”;
$headers .= “Bcc: , name4@email.net\r\n”;

$headers .= "Reply-To: $contact_email";

Zip the file and send in here.