Customizing mailto: Links

If you’ve ever wondered how to customize a mailto: link, getting it to include your own subject line, list of recipients, cc or bcc someone, and pre-populate a message in the email body… look no further.

First, let’s look at a standard mailto: link.

<a href=""></a>


Nothing special there. When you click that link, it opens up the user’s default mail program, and will populate in the TO field.

mailto: Link Visual Builder

The guys over at Sam Carlton Creative have put together a really awesome tool to help you build a mailto: link with all the fields populated. It handles all of the encoding for you, and provides the final html code that you need to use.

Try the mailto link builder tool »

To learn more about how to build an email link yourself, continue reading…

mailto: link with subject line

<a href="'re+Cool."></a>


This would send an email to with the subject line of “Hey Dude. You’re Cool.”

mailto: link CC & BCC fields

NOTE: As soon as you add a 2nd parameter (“subject” was our first parameter, now we’re adding “cc” and “bcc”), you need to separate all your parameters with an ampersand (&). You begin your parameters, after the, with a question mark (?), but use ampersands (&) to separate parameters after that.

Adding CC & BCC fields is as simple as adding a subject. For multiple emails, separate each email with a comma.

<a href="'re+Cool.&"></a>


Adding multiple emails for these fields would look like this:

<a href="'re+Cool.&,,,"></a>


mailto: link body content

Now for the really cool part: Adding a message in the email body. Again, it’s just as easy as before, but be careful of your character encodings. We are using the body parameter. Here’s an example of a mailto: link with subject, body, cc & bcc fields.

<a href="'re+Cool.&"></a>


Blank TO field. Let the user enter the email address.

If you want to let the user type in the TO, CC or BCC fields, you can leave the mailto: blank, like this:

<a href="mailto:?subject=whatever&body=whatever">Email Someone</a>


Character Encoding

Make sure you encode all special characters. Common character encodings are below, or you can use Eric Meyer’s URL encoder tool. If you would rather learn what all the character encodings are, you can use this resource.

Common character encodings

  • space = %20 or + (either one works)
  • line break / carriage return = %0D%0A
  • question mark = %3F
  • / (forward slash) = %2F
  • : (colon) = %3A

The plus sign (+) might not work on all systems, specifically Windows/Chrome 10/Thunderbird (hat tip to Thomas).

You do not need to encode commas (,) or periods (.).

Dave Warfel

Dave is the co-founder of Escape Creative, a web company focused on teaching WordPress. He creates new content over at WP Smackdown.

125 thoughts to “Customizing mailto: Links”

  1. Michael,

    If the image is hosted on a website somewhere, you could include the URL in the body of the email. Most email clients will automatically link it up to the image. But doing it this way WILL NOT include the image as an attachment. Your code would look like this:


    There is/was an “attachment” parameter at one time, but it was never secure, and therefore is not reliable. I’ve never heard of someone using it successfully. You can get out this post for ideas, though.

  2. This is great! Do you know if it’s possible to include hypertext within the body of the email? I wrestled with it for a little bit but then decided the quickest fix would be to just use the URL rather than hypertext.

  3. Bryan, yes, you can include a hyperlink. You just need to encode the <a> tags. Your code would look like this:


    You can enter your HTML code into this tool, and it will spit out the encoding for your links.

  4. I tried entering a hyperlink with encoded tags and url but the html was still read by the email client (google) as actual text instead of making it a clickable link. Is there a way to make it clickable?

  5. I created a mailto link, with TO, CC, Subject and Body. The link works great when I click on it from Firefox. However, when I click from IE, I just get a blank page, it does not bring up my mail client and open the message in a compose window. Any idea what I’m doing wrong?

  6. Gemma — Unfortunately not. Because the body of a mailto: link is rendered in text/plain format, there’s no way for you to tell the email client to render it as HTML.

    Chirag — You can enter any HTML character into this tool and click “Encode.” That will give you the code to use for that character.

    Lisa — I’m guessing it has something to do with the default email clients you have setup for each browser. Here’s a great article that explains how to change the default email client for both Firefox and IE.

  7. thanks for the article Dave.

    I’m having a problem with the mailto: links that get forwarded or reply FROM the gmail ios App. The links get broken and some sort of weird javascript is added (something like ‘javascript: _e(..cvml…’

    Have you come across this issue?


  8. Just wish to say your article is as astounding. The clearness
    in your post is just spectacular and i could assume you’re
    an expert on this subject. Fine with your permission allow me to grab your RSS feed to
    keep up to date with forthcoming post. Thanks a million and please continue the
    enjoyable work.

  9. Hi Dave!
    Great stuff – appreciate the section on how to add a body to your email.
    Taking it one step further, I wanted to embed a quick table for an inventory request… is there a way of creating a grid as part of the email body?


  10. Ernesto,

    Unfortunately, you cannot use html code in mailto: links. However, you could make it look like a table in plain text. Something like this:

    <a href="mailto:?subject=whatever&body=column1%20%20%20%20%20%20%20column2%20%20%20%20%20%20%20column3%0D-----------------------------------------%0Drow1%20%20%20%20%20%20%20%20%20%20%20%20row2%20%20%20%20%20%20%20%20%20%20%20%20%20row3">link</a>
  11. Thanks for this post. I just set up a link on a blog post to help people share my blog via email. I’m blogging in such a small niche, I need all the help I can get spreading the word about it!! Thanks for your help!

  12. Dave,

    Thanks. The “+” signs show up in the subject & body for MAC OS X’s mail client “Mail”. Should I replace them with spaces or %20? Is this the expected behavior? Or were you expecting normal spaces? Do you know how %20 or spaces versus “+” signs might effect other clients?


  13. Hi Mike,

    You should use %20, not a space.

    I did not realize that Apple Mail would not render the + sign as a space. And unfortunately, I’m not sure about other email clients. I’d have to run tests to figure that out, and don’t quite have the time right now to do so.

    Thanks for bringing this up, as it could be helpful to other readers.

  14. Impressive stuff, Dave! I knew about the subject but did not know you could CC and BBC and also Body text. 😮

    Is it possible to put up to 6 lines of text in the body? Like a sort of unordered list or just plain 6 different lines of text?

    Thank you so much for this post, if you find time to answer that would be super awesome too. 🙂


  15. Hi Pete,

    Because of how different email clients render (or don’t render) HTML code, I’d recommend you play it safe and use line breaks, along with dashes, to create your list of 6 things. It would look something like this:

  16. John,

    There is no simple way to get the URL of the current page using HTML. However, you could use javascript, or depending on what language your site is written in, a server-side language like PHP.

    Tutorial for using javascript:

    Tutorial for using PHP:

    *NOTE: Both methods could have security implications, so be careful.

  17. Cheers Dave,

    That worked a treat. Although they have now decided that they are happy with a contact form after all! Grrr. …lol

  18. Is there a way to embed the result of a form field in the body of a message using mailto?

  19. Hi Paul,

    Not with straight HTML, no. You’ll have to use a server-side language or javascript to achieve this.

    If your site is in PHP, you could use the $_GET or $_POST superglobals. A quick tutorial can be found here:

    Then you’d use the same syntax as described above to insert something into the body of an email, and wherever you want the value from the form to appear, you’d use this instead: <?php echo $_POST['nameofinput']; ?>

    I think the mailto link would need to appear on a page AFTER the form has just been submitted. Not sure if it’ll work pre-submission.

  20. Hi Dave,

    Do you know what the character limitations are in the body copy when sending an email from a website when you are using IE8?

    Your help is greatly appreciated!

  21. Nice post. What I’m really interested to know is, anyone figure how to get the body content to prepend to the email signatures?

  22. Dear Dave!

    I know that I found very-very useful informations in your post, but to tell the truth I don’t know where to embedd your codes to fit for my needs.

    I have WP platform with Avada theme and I’m using it’s built-in sharing box with social sharing and email-sharing also.

    1. I would like to set your codes into this built-in email-sharing option. How can I do that?
    2. Maybe I would try for a mail-to-me icon also, where can I set that?

    Thank you for your reply!


  23. Hi Dave ,
    Is there any parameter in mailto to set email client(gmail,outlook etc .) to open after clicking mailto???

  24. @Angela — I have not worked with the Avada theme, so I can’t be certain about my answer here, but… from the themes I have worked with, if there’s a built-in email sharing option, you likely CANNOT apply any of this code to it. Typically, theme’s like Avada are designed to do the email sharing code for you, and not give you an easy way to edit it (aside from creating a child theme and editing the theme code).

    The most common place to implement custom mailto: links is in the main content area of a page or post.

  25. @Rahul — No, and I don’t think we (as site designers/owners) will ever have the ability to pre-determine an email client. That is a preference that should belong with the end user, and thus, only the end user can determine which email client they want to use.

  26. Thanks Dave for info.
    I have an Outlook HTML email template that i send out with variables(i.e. fields below) that get populated from my system (database) when Outlook email is created.
    – {contact_firstname} = first name of person email is being sent to
    – {contact_surname} = last name of person email is being sent to
    – {user_email} = my email address
    I then have a button in this email which when clicked on (using mailto) opens a new (reply) email which should populate the To and Subject of the reply email.
    I know how to do the subject field but the To field just populates with my field {user_email} instead of my email address.
    HOW or what variable can i use as i just want my email address to be populated

  27. Hmm, according to the code you mentioned at the top, using {user_email} seems like it should insert your actual email address for the “to” part of the mailto: link.

    If you can post the code you’re using for your HTML email template (or at least the parts of it that contain the variables & mailto: link) I’d be happy to take a look.

  28. My WordPress site contains many vintage items, which the visitors can enquiry about. Is it possible to automatically include the reference number for each item in the subject line?

    When I create a new item in WordPress the reference number for each item is entered into a text box and it has it own heading…

  29. Henrik — It depends where/how the reference number is stored. If it’s stored in a custom field, then you can add some code to the template file that displays each product, and use PHP to retrieve the custom field value (which would be the reference number).

    Let’s say your reference number was stored in a custom field named “reference_number”. You could do something like this:

    <a href="<?php echo get_post_meta( $post->ID, 'reference_number', true ); ?>">Enquire About This Item</a>

    You’d have to use this code within the loop in your template file. You can’t run PHP code in your actual post content area (that you edit within WordPress).

  30. Thanks for this awesome post! I was finally able to create a mailto link with multiple emails, a bcc, a subject, and a body that works in gmail and outlook! Thank you!

  31. @Rajeesh — Unfortunately, no. The “FROM” field will always be the default email address that is setup in whatever email program you have set to open mailto: links.

    For example: I have mailto links set to open in gmail by default. I’m logged into my account. Any mailto: link I click will always default to being FROM

  32. Hi Ashleigh – You just need to encode the html for your table, and include it after the &body= portion of your link. Take the HTML code for your table, enter it into this tool, and click “encode.” Then use that code in the &body= portion of your link.

    I did it with a super-simple table and got this:


    So your link would look like this:

  33. I take that back, Ashleigh. Sorry, I was mistaken. HTML code will not render in mailto: links. You could do something like this as a workaround:


    <a href="mailto:?subject=whatever&body=column1%20%20%20%20%20%20%20column2%20%20%20%20%20%20%20column3%0D-----------------------------------------%0Drow1%20%20%20%20%20%20%20%20%20%20%20%20row2%20%20%20%20%20%20%20%20%20%20%20%20%20row3" rel="nofollow">link</a>
  34. Hi – I’m not sure if it’s possible but I am trying to prompt (in ios) to attach a file from the user’s photo gallery. So far I’ve been unsuccessful in finding any info about it so I assume it’s not possible.
    in theory: it would open a new email – then (or at same time) open their gallery app for them to select a photo – where after selection it would go back to the email with the image in the body.


  35. Hi is it possible to do something like this

    mailto:”Name Here”?subject=subject&body=body

  36. Hi Dave,

    Love the help and the solutions you share! I’m wondering if there is a way to get an unordered list to display in the “body” when using a mailto tag?

  37. I just got a response; but, I must be missing something. I was looking for help on “how to” add a bulleted list into the body when using a “mailto” tag. Can you tell me if it is possible and if so can you send me a sample of how to do it?


  38. Sheri — I don’t think you can do that. The best that you could do is use the asterisk (*) symbol as your bullet point, and then use the line break code. So you’d have something like this:

    <a href="*Item 1%0D%0A*Item 2%0D%0A*Item 3%0D%0A" rel="nofollow"></a>

  39. This is great Dave. Thanks for your effort to help us newbies with this stuff. Now the other shoe.

    Is it possible to place the cursor at the end of the body text when you’re prefilling body? I’m sending an email to users who click on a link to make changes to their directory listing and would like to make it as easy as possible by putting the cursor at end of prefilled body text so they can type their comments about their listing.

    right now it stays at the beginning of the body. Thanks.

  40. I am trying to embed a link into a powerpoint presentation that I’m using as a module. The link is to a survey for users to complete. When I put the code for the prepopulated email into the hyperlink for the button I created on the slide, it works. However, when I save the presentation as a powerpoint show so it opens full screen for the user, the coding for the body gets stripped out and the body of the email appears as one paragraph. Do you know why this would be happening?

  41. Mike — Sorry for the delayed response. I don’t think that’s possible. I’m certainly not aware of any way to achieve that. Sorry.

  42. Hi Dave,
    Elvin asked it best a couple years ago…. “Nice post. What I’m really interested to know is, anyone figure how to get the body content to prepend to the email signatures?” Is it possible? Trying to have a mailto link that includes the visited URL in the body, without wiping away the signature on the default mail client.

  43. Patrick — If I’m understanding correctly, you want to include a mailto: link on a page, and then have the URL of that page inserted into the body of the email. If this is what you’re trying to achieve, you’ll have to use some server-side code to grab the URL of the current page.

    Technically, you could hard-code the URL into the mailto: link, but you will probably want to do this on MANY pages, so that’s not a viable option.

    If you do a google search for “how to get url of current page in” and then insert whatever coding language your site is built with, that should steer you in the right direction.

  44. Dave,
    Thanks for the post.
    I would like to use mailto as a reply link in an email. I would like to append the existing subject and body of the original email to the reply.
    I have tried several methods here is an example of what I would like to accomplish:

  45. Hi Lee — Unfortunately, I don’t think you’re going to find a way to achieve that. The main reason is because, in email, there’s no way to use a coding language that can pull dynamic values (like the subject & body). Here are some additional thoughts:

    Reply-To: This does not seem feasible. From what I’ve researched, it’s not part of the mailto: syntax, so there really is just no way to do it. :-/

    Now, there are email marketing platforms (i.e. MailChimp, etc.) that allow you to specify a unique Reply-To address, but this would only work when using the default REPLY button in the email client (not a custom button or link that you create in HTML).

    Subject: This is pretty obvious, but if they use the email client’s default REPLY button, you’ll have (almost) the same existing subject line. It’ll just have “RE: ” prepended. But again, I don’t know of any way to dynamically pull the value into a custom mailto: link.

    Body: Pretty much the same thing as subject.

    If you want to send mail with gmail, and specific a different reply-to address, here’s a tutorial on how to set that up.

    Wish I could be of more help, but unfortunately, the options for mailto: syntax are limited.

  46. Thanks Dave,
    I’ll see about a work around. Maybe create a mail client for replies in the software.
    Have a good weekend.


  47. Hi Dave,

    Elvin and Patrick inquired about this, but I don’t think you fully addressed the issue. Perhaps I was interpreting their questions incorrectly. The problem, at least for me, is that the body content is populating *underneath* the signature in Outlook. How can I get it to populate above the signature? It’s appending when it should be prepending. Searched all over the web to try to troubleshoot this myself, but not having any luck. Much appreciated for any help you can give.


  48. Hi Dave ,
    My question is again the extension of Same subject line query.
    I want to reply a mail through two different links that came within same mail’s body.
    Now its like Mail coming from, with Subject “Abstract” and mail body has two links which are :
    After clicking either of them mail is created with right body content as mentioned in link .Tried lot but I am not getting same subject(Abstract) which was there in the parent mail.
    Please advice
    Thanks In advance

  49. I currently have a mailto set up that includes 4 email addresses. My client doesn’t want the emails to show up. Is there a way to set it up so that the person sending an email doesnt see the email addresses of the 4 people?

  50. @Alexandra – I’m not aware of any way to do this using a mailto: link. You’d have to use a web form that sends the email instead of using a basic mailto:. The basic mailto: link will just use whatever functionality the default email service provides, and I’m not aware of any email service (gmail, hotmail, yahoo, outlook, etc.) that can send an email to people while also hiding their addresses from the sender.

  51. Hi Sid – If the mailto: link is located inside of an existing email, I’m not sure of a way to programmatically grab the existing subject line. If you use the default REPLY button in your email service, obviously, the subject will be kept and used for the reply. But as soon as you use an <a> tag with href="mailto:", you would have to explicitly include the subject line in your mailto: syntax, just like you are including the “body” content in your example.

    So unfortunately, I don’t think it’s possible to do what you’re asking.

  52. Hi Jenny – Sorry for the delayed response. I see what you’re saying.

    I’m not sure how to solve that one. My best guess would be to see if there’s a setting in Outlook that forces all signatures to the very bottom of all emails. I don’t have a copy of Outlook so unfortunately, I can’t play around with this.

    But in terms of the structure & implementation of the mailto: link itself, I’m pretty sure there’s nothing that can be done to force the content to show up above your Outlook signature. Sorry.

  53. Hi Dave,

    I want to send a mail with the non-editable sender value in the outlook mail Client. Is there a way to do it? If so, how to do it?

  54. Hi Tamilmani — I’m confident to say that there is no way to make the sender value non-editable by using a mailto: link. The Outlook mail client will always show the sender value as editable.

  55. Hey Dave- Nice Post but let’s say while using mailto and I’m using my own body but this is wiping/removing away my current signature, is there a way to preserve my signature or is there a way to append my message to the email body without affecting/removing the signature

  56. Hi Vikranth — Unfortunately, I’m not aware of any way to do that. I think once you decide to use the “body” parameter in your mailto: link, you relinquish the ability to have anything else show up from your email client.

    I’d be more work on your part, but you could try to include your signature in the body parameter of the mailto: link, but that’s the best suggestion I have. Sorry I couldn’t provide a better way, but I’m just not sure that it’s possible.

  57. That’s Fine Dave. thanks for the response. this email feature is for one of my application I develop and will be used by other clients so hard coding the signature doesn’t work for me

  58. Hello,
    Thank you for this informative post. Is it possible to create a variable subject line? I have created the syntax to generate a standard reply e-mail with a subject line but I get a ton of e-mails with that subject so I’d like to add something to differentiate it. Is it possible to add syntax to include the sender’s name in the subject line? If so, what would the code for that look like?

    Thank you in advance for your help!

  59. Heather — To do that, you’d have to use either a server-side scripting language (like PHP, .NET, Ruby, etc.) or JavaScript. To include the sender’s name, you’d first have to collect it somehow. This would mean using an HTML <form> or a JavaScript prompt. I’ve never created anything like that, so I can’t help you with that code.

    A simple hack would be to ask the person to add their name to the subject line (just in the text on the page). And then use ?subject=Subject+Line+Here+(ENTER+YOUR+NAME). Best of luck with it.


    I want to set hyperlink on our message body but mail receiver don’t see hyperlink he show only text. He click text to go on destination link we already set in href tag.

    Please help me.


  61. Divyesh — I initially thought this was possible, but unfortunately, email clients will render the message body as plain text, not HTML. So there is no way to achieve this (that I know of). Sorry.

  62. Awesome! Thanks Sam. I’ve updated the article to include this tool, and gave a shout out to your agency site. Thanks for building it and making it available to everyone.

  63. Hey Dave, awesome blog. Thanks.

    How could I send my localStorage using mailto?
    Any suggestions?

    “rules”: {
    “checkFields”: [{
    “id”: “1”,
    “name”: “Consider Order”,
    “value”: true,
    “info”: ” Some info about order.”
    }, {
    “id”: “2”,
    “name”: “Considera Time”,
    “value”: true,
    “info”: ” Some info about time.”

  64. Hi Pow — If you’re looking to dynamically generate a different set of data, depending on certain circumstances, you’d have to use JavaScript, PHP or some other coding language to dynamically update the data.

    But if you just need to include some data in the format you outlined above, I recommend pasting your data into the tool, the “body” section. That will automatically encode everything for you, including quotes, line breaks, spaces, etc.

  65. Dave, I am using this MAILTO hack on my wordpress plugin and have a question, since my users are on mobile they click a button that opens their email client with my email filled in as well as the subject and a short body message, is there a way to CAPTURE the person email address they are sending from and have it saved to a csv file?

  66. Hi Don — I wish I had a better answer, but unfortunately, that is far beyond my skill level. There’s probably some custom JavaScript you could write that would do something like that. I did a quick search for “create csv file on click”. Some of those results might get you started.

    Good luck!

  67. Hi Julian — I just tested it again and it works for me. What happens when you click this link? You should see a message in the body that is broken up into two lines.

    The only other thing you might want to try is %0A%0A. That might work as well.

  68. Just wanted to mention that on my system (Chrome on Windows 10 and Thunderbird) the “+” sign is not decoded to a space (neither in subject nor message). The result is this:



    But at least the line break worked 🙂
    Encoding it as “%20” (or not it at all) works perfectly.

  69. Thanks for the tip, Thomas. I’ve updated the article to include a note about the plus sign (+) not working on your specific setup.

  70. Hi Dave,
    I’m able to use script in InDesign when making a submittable PDF.
    Currently I have this script attached to my Submit Button: Is My Subject&body=The body of the message

    But I need the subject to use the info entered in a text field. Specifically the option chosen from a combo button drop down list. The fields name is TextField2.

    What is the chunk of script I need to have the info in TextField2 appear as the subject?

  71. Hi Alexa — I’m sorry, but I don’t know how to do what you’re asking. I’m not sure how to dynamically generate a subject line based on a combo button drop down list in a PDF. Sorry.

  72. Excellent posts! Question: Can I set the importance (high) with the mailto followhyperlink process? I happen to be using Outlook in Office365.

  73. Thanks for the feedback, Shaun. And that’s a great question.

    Unfortunately, I’m not aware of any way to set the importance using a mailto: link. :-/

  74. Hello Dave,

    I’m able to send emails from Outlook by using ” mailto” from salesforce can you guide me how to fetch the matter in the saved email template to new mail.

  75. Hi Satya. I’m sorry, but I don’t know how to fetch a saved email template. And I don’t use Salesforce so I’m just not familiar with that platform.

    Sorry I couldn’t be of more help.

  76. Is there any way we can hide bcc emails ? so that the user cannot see more than one mail ?

  77. Hi Shahzaib — BCC was actually designed for this. It stands for “Blind Carbon Copy.” So whoever you put in the TO and CC fields will see each other’s email address. But the people in the BCC field, their email addresses will be hidden to the rest of the recipients.

  78. Hi Dave,
    reply-to attribute is not working in windows while it works perfect with mac mail.
    code line:
    send mail
    when executed through mac mail reply-to was set to When executed through outlook and mail apps in windows I was able to send email but reply-to is not set to
    Didn’t find any support in google. Can you please help me approaching this problem.

  79. Hahha I being so dumb.
    I am using
    when executed through mac mail reply-to was set to When executed through outlook and mail apps in windows I was able to send email but reply-to is not set to

  80. Vinod — I don’t think reply-to is part of the official mailto: syntax. I’m not sure why it’s working on apple mail but not with Outlook or Windows. Sorry, I wish I could be of more help.

  81. I Dave, do you know if it’s possible to put a string into the subject. Not something static. i want to write something, store as a string and then put my string in the subject our the body of the mailto :
    Send message

  82. Hi Maxime — I believe this is technically possible, but it could be tricky. It also depends on what language you’re writing your strings in. PHP, JavaScript, etc.

    If the link is in the TinyMCE area of a WordPress post or page, that editing area does not allow PHP (or any other server-side language) code. You can use JavaScript, though.

    If the link is coded directly in a template file, you could use PHP to store a string, and then print or echo the string after the subject= part of your mailto: link.

  83. Hi Dave – I am trying to use the BCC mailto code, however when the link in the email is clicked and the mailto window pops up the “To”, “Subject Line”, and “BCC” fields are all populated. The to and subject line is great, but i need the BCC to actually be BCC and not visible to anyone. What am i doing wrong?
    email me

  84. Hi Kaela — You’re not doing anything wrong. That’s just how any mailto link works.

    The person sending the email will always be able to see who they are BCCing. Using any typical email program (gmail, yahoo, hotmail, G Suite, etc.), I don’t know of any way around that. And this makes sense when you think about it.

    The person receiving the email will never see any of the BCC addresses though. Even when the sender sees them as they are composing the email, once that email hits the recipients inbox, the recipient will not see any of the BCCs.

    Does that make sense?

  85. Sorry 😕. I don’t have any workarounds. Plus, I’m really bad at secrets! haha, but that’s more of a personal problem.

    Create an awesome weekend! 😎

  86. HI!

    This might be unrelated to this thread but I’m hoping someone can help. I’ve embedded a mailto: code using Google Sites to send daily product quantities needed to an outside vendor. Once i hit the submit button on the Google Site, it auto-populates that data into gmail. Is there a way to embed code to format the email itself and not just the webiste? Please see below for how i’ve started the code:

    form {
    display: block;
    margin-top: 0em;





    SLAB BACON: “”

  87. Hi Dave,

    Is it possible to include text below email signature using mailto:
    I want to include text at bottom of email body by default.

  88. No. If you have an email signature set up through your email provider, it will always show up at the bottom.

    Everything you put in the mailto: tag will have to go before it.

  89. Hi Dave-
    I’ve scrolled through the comments and don’t think my specific question has been answered. I am using a submit form mailto option via PDF. I am aware that having a body text knocks out the default signature of the sender so I am trying to leave the body of the email blank allowing the default signature of the sender to appear. When leaving the body in URL blank the default “The attached file is the filled-out form. Please open it to review the data.” still appears in the body of the email. Is there a way to leave the body of the email completely blank allowing the default signature to appear?

  90. Hi Samantha — I don’t understand what you mean by “a submit form mailto option via PDF.”

    From my understanding, whether a person’s signature shows up at the bottom of the email body is entirely dependent on that user’s settings, and the email program they are using. Mailto links can open different email programs for different users, depending on that user’s default settings. Some have mailto links open in Gmail. Others, in Outlook. Others, in Apple Mail.

    And they can choose to have a signature added to all new outgoing emails, or not.

    Regardless of what you mean by “a submit form mailto option via PDF,” I don’t think you can control what happens to the signature either way.

  91. Hello! Is there an easy way to change the font size and color on specific lines in the message?

  92. Hi there!
    I’m using a mailto link as a CTA in an email. The prepopulated email looks lovely on desktop versions, but the formatting doesn’t translate when the CTA is clicked on mobile. Any thoughts?

  93. Dave,
    Huge thank you to this string! It saved tons of time in a pinch and was easy to resource!

  94. Wishes!&body=Congratulations Sushanta Kumar Sahoo on your

    not working , image join as a string

  95. Hi Dave,
    first of all, “chapeau” for your post which is impressive.
    Then, I would like to use this trick as a replyto embedded link in an email. I would like to know if subject or body can contain a reference present in the previous email. In example, the same subject as before or a code included into the email received.
    Many thanks for your help

Leave a Reply

Your email address will not be published. Required fields are marked *