67

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.example; second@mail.example; third@mail.example">Send</a>

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

Stephen Ostermiller
  • 23,933
  • 14
  • 88
  • 109
  • 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

87

"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.example,person2@domain.example'>Email Us</a>
Stephen Ostermiller
  • 23,933
  • 14
  • 88
  • 109
ethree
  • 1,582
  • 2
  • 14
  • 21