HTML "mailto:" tag.  How do you get it to email to more than one address?  what is the proper syntax?

Posted on 2007-12-03
Last Modified: 2012-05-05
Currently it looks like this:

<form method=post enctype="text/plain" action="">

I don't know how to get it to send to a second email though.  Thanks.
Question by:Sp0cky
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
LVL 16

Expert Comment

ID: 20395431
I could be wrong, but I don't think you can code it for multiple addresses? Most likely you will need to use an alias or scripting, but I'll wait and see if someone proves me wrong...
LVL 29

Expert Comment

by:Göran Andersson
ID: 20395445
I don't know if it's possible, it might depend on how the mail client handles the data.

Email addresses are generally separated by semicolons when you can supply more than one, so you could try like this:


Expert Comment

by:Rob Siddell
ID: 20395486
i just tested the following code and it worked fine with my outlook.

<a href=";">mail</a>

Open in new window

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

by:Rob Siddell
ID: 20395494
not the exact same usage but if it works there i would think it would work with the form action.
LVL 13

Accepted Solution

R7AF earned 500 total points
ID: 20395560
Be careful! Outlook uses ; as separator, but other mail clients use a comma. Test this before using it. How about using something like this:

<a href="">mail</a>

Open in new window


Author Comment

ID: 20395675
Thanks guys but I am trying to mail a form using the form post method.  This is not just an email link by itself.  Let me be a little more descriptive:

"<form method=post enctype="text/plain" action="">" used with this:

"<input type="submit" value="submit message">"
LVL 29

Expert Comment

by:Göran Andersson
ID: 20395742
How you specify the email address/es would not differ between using a link and a form. Both use the email client of the client computer.

Author Closing Comment

ID: 31412321

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AJAX Wordpress Not Reading Variable 2 57
Use "if not" in a condition 2 19
Table header must be on top 2 30
CSS for Popup in ASP.NET 4 18
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question