htmlemailmailto

Mailto with multiple cc addresses


I would like to know how to include multiple email addresses in mailto link. I am trying this:

<a href="mailto:email@example.com?subject=[Help]%20Base Leisure&cc=email@example.com,email@example.com">Contact Email</a>

But it is not working. Any idea of how to do it?


Solution

  • You need a semi-colon as the separator.

    <a href="mailto:email@example.com?subject=[Help]%20Base Leisure&cc=email2@example.com;email3@example.com">Contact Email</a>

    Some e-mail clients (e.g. Android's GMail) won't allow mailto: links to duplicate the same e-mail address in both To: and Cc: fields.