Forums - C# Corner

Forum guidelines

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

Aug 20 2009 1:13 AM

Hi,

 

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:mail1@domain.com?cc=mail2@domain.com&bcc=mail3@domain.com"

 

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

http://lists.evolt.org/archive/Week-of-Mon-20010813/055130.html

 

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)