Search code examples
emailgmailgmail-imap

Creating a GMail Hyperlink "Mailto?" to Multiple Recipients


I am attempting to create a hyperlink mailto for a google mail to multiple recipients using the following string: https://mail.google.com/mail/&view=cm&fs=1&tf=1&[email protected],%20https://mail.google.com/mail/?view=cm&fs=1&tf=1&[email protected]

... only when I test it, it drafts a gmail message to recipient2 while completely bypassing recipient1, and a partial, incomplete string: "[email protected], https://mail.google.com/mail/?view=cm"

Further, my ULTIMATE goal is to add a 3rd recipient. Again, the result is a draft opened with only recipient2 and the same incomplete string.

What am I missing??


Solution

  • You can mention the multiple email receipts in the parameter 'to' with semicolon as delimiter. Please check my example link below: (I've tested it and it's working for me)

    [email protected];[email protected];[email protected];[email protected]

    Full example:

    https://mail.google.com/mail/?view=cm&fs=1&tf=1&[email protected];[email protected];[email protected];[email protected]