html mailto command

Today, due to some task’s requirement, I need to play around with the html mailto command.
As I know, the mailto command is just prompt up the visitor email client & auto fill in the To field.

After some research, I found that actually the mailto command is more power than what I though.

Below is some example:

Simple mail to

<a href="mailto:[email protected]">Simple mail to</a>

Mail to multiple recipients

<a href="mailto:[email protected],[email protected]">Mail to multiple recipients</a>

Mail to with subject

<a href="mailto:[email protected]?subject=Myhow2guru Tutorial">Mail to with subject</a>

Mail to with a copy (CC)

<a href="mailto:[email protected][email protected]">Mail to with a copy (CC)</a>

Mail to with a Blind Copy (BCC)

<a href="mailto:[email protected][email protected]">Mail to with a Blind Copy (BCC)</a>

Mail to with email content

<a href="mailto:[email protected]?body=I like this website">Mail to with email content</a>

6 Comments to “html mailto command”

  1. james 27 May 2009 at 3:14 pm #

    is it possible to send a mail with both a cc and subject?

  2. james 27 May 2009 at 3:20 pm #

    oh nvm, i figured out.

    type whatever here

    thanks for ur tips!

    • h2Guru 27 May 2009 at 3:25 pm #

      That’s fine.
      Hope its help you.
      Cheer~!

  3. David 29 May 2009 at 5:28 am #

    Is there a way to default the e-mail to plain text? As opposed to rich or HTML. Thanks.

  4. h2Guru 29 May 2009 at 8:44 pm #

    Hi David
    For my understanding, it is not way to do so…
    Unless you are composing the email inside the form & require it send it as plain text format.

  5. Carter Ellwood 29 September 2011 at 4:59 am #

    I precisely needed to appreciate you yet again. I’m not certain what I would have undertaken without the type of creative concepts revealed by you about this industry. It was the fearsome circumstance in my opinion, however , being able to see a new well-written approach you dealt with it forced me to leap with gladness. Now i am thankful for the service as well as hope you know what a powerful job that you’re getting into teaching people today by way of your webblog. Most probably you haven’t come across all of us.


Leave a Reply