need an alternative to "mailto" to open new mail message

Prabhakaran Chinnaiyan

Prabhakaran Chinnaiyan

Aug 20 2009 1:13 AM



We are developing a portal.

There is a requirement to open new mail message in the outlook of user machine with the TO, CC, BCC populated programmatically.


To achieve this we used  the following syntax

"mailto:[email protected][email protected]&[email protected]"


This works fine when the number of recipients is less. However, we need to populate the To, CC, BCC list from the result set of a query which may be even more than 1000 mail ids. In such scenarios the above method fails.


I came to know that the maximum limit of characters allowed is 456 when browsing through the following link



If any of you know how to overcome this limitation of "mailto" or an alternative to "mailto", kindly let me know.


Thanks in advance!

Answers (1)