Process.Start - Is there a MailTo Length Limitation?

I have a DataGridView filled with contacts and want the ability for a user to select groups of users and send an email. I accomplished this with a call to Process.Start with a mailto: string passed in as an argument. This works for small groups, but seems to have a size limitation around 2000 characters. Can anyone confirm this? Is there a better technique for allowing distribution lists like this from .NET?
ufpcitAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tiagosalgadoCommented:
But you're using .NET classes to send email or just adding all contacts to outlook message form?
0
Éric MoreauSenior .Net ConsultantCommented:
if your distribution list exist in your exchange server, you can use System.Net.Mail. have a look at http://www.emoreau.com/Entries/Articles/2007/09/Using-SystemNetMail.aspx
0
ufpcitAuthor Commented:
My distribution lists do not exist in Exchange. It's basically a contact table that spans departments and I want the ability to select a group of records in the grid, right click and send them mail. I'm using the Process.Start function and sending a string that is the "mailto:Joe.Smith@co.com;Jane.Smith@co.com", which works except that either the Process.Start or the Mailto syntax are hitting a maximum length. The error message I get, simply indicates "Access Denied".
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

tiagosalgadoCommented:
Using mailto (causing a new outlook mail message) you're limited to 50 emails (i think is that the limit).
0
Éric MoreauSenior .Net ConsultantCommented:
from http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/6ff1d31e-04ba-4080-8c49-389abfe4e430/

"You're executing a URL when you try to Start mailto:...  URLs have a 2083 character limit in Internet Explorer, you're probably causing Internet Explorer grief because you've passed too much data."
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ufpcitAuthor Commented:
The 2083 limit makes sense. Thanks Emoreau. I changed the technique to use the Outlook 11 library to bypass this limitation. Works great now!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.