62

Possible Duplicate:
Emailing to multiple recipients with html Mailto: not working

I want to send with 1 HTML link a mail to multiple (100) recievers...

<a href="mailto:first@mail.com; second@mail.com; third@mail.com">Send</a>

This link doesn't work. It do nothing when i press the link.

Community
  • 1
  • 1
  • Use comma instead of semicolon? – CyberDude Dec 07 '12 at 14:44
  • @CyberDude: also with comma it don't work. There are about 100 mails... –  Dec 07 '12 at 15:07
  • 2
    @user1671245 does it work with one? – CyberDude Dec 07 '12 at 15:33
  • 1
    might be good candidate to go for distribution list / email groups. Just a thought. – Ashwath Feb 27 '17 at 09:49
  • I have a similar situation. The mailto: I have is being populated by a member database, nearly 100 people. The mailto link exists to allow all members, create a mass email to reach all members. If we are unable to use mailto for this quantity of members, is different method to deliver the same result? – GDT Apr 21 '17 at 12:48
  • You can set each and every part of an email. Here's a tool I built to make it dead simple: https://mailto.now.sh. You'll want to make use of everyone else's advice of the "," to delimit multiple recipients – Dawson B Nov 08 '17 at 23:04

1 Answers1

79

"There are no safe means of assigning multiple recipients to a single mailto: link via HTML. There are safe, non-HTML, ways of assigning multiple recipients from a mailto: link."

http://www.sightspecific.com/~mosh/www_faq/multrec.html

For a quick fix to your problem, change your ; to a comma , and eliminate the spaces between email addresses

<a href='mailto:person1@domain.com,person2@domain.com'>Email Us</a>
Emil Sierżęga
  • 1,528
  • 2
  • 31
  • 36
ethree
  • 1,492
  • 2
  • 14
  • 20
  • 2
    also with comma it don't work. There are about 100 mails... –  Dec 07 '12 at 15:08
  • 9
    @user1671245 This appears to be client specific. Using semi colons works for me using IE and Outlook. – Gavin Ward Dec 02 '15 at 12:28
  • 3
    RFC 6068 (https://tools.ietf.org/html/rfc6068) has this definition of the `to` field: `to = addr-spec *("," addr-spec )`. I understand this as a way of defining multiple recipients, separated by a comma. – bers Jun 20 '16 at 20:52
  • Be careful with this, as ; does not work on mac. – ramijames Jul 28 '16 at 09:42
  • should work in Outlook – Jason Aug 18 '17 at 12:44
  • I have 2 cases where using ; causes mac mail client to stop working, and ending in an endless loop where it is trying to send to and invalid mail address. Which caused the mail provider to mark their account as being spam. DO NOT USE is my recommendation. – Rasmus-E May 31 '18 at 18:21
  • To try and gather some data, try the example link here, and report back your email client and if it succeeds or fails to add multiple emails: https://codepen.io/jesstelford/pen/zeKgdg?editors=1000 – Jess Telford Jan 29 '19 at 23:05
  • 5
    Gmail on Android works successfully using commas. – Jess Telford Jan 29 '19 at 23:06
  • 4
    Apple Mail on OSX works successfully using commas. – Jess Telford Jan 29 '19 at 23:08
  • 1
    It works fine using commas, Thunderbird on Ubuntu. – Peter Umoren Mar 07 '20 at 10:40