send mail to multiple receiver with HTML mailto

Html

Html Problem Overview


> 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.

Html Solutions


Solution 1 - Html

> "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:[email protected],[email protected]'>Email Us</a>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1671245View Question on Stackoverflow
Solution 1 - HtmlethreeView Answer on Stackoverflow