MailMessage Class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using MailMessage class of .NET framework .....

I have a scenerio in which i need to send mail to large number if users >
10,000 users.....

I know i can do ......

MailMessage msg = new MailMessage();
msg.To = (e-mail address removed);[email protected]; // Semi colon seperated alias assigned.
SmtpServer.Send(msg);

But giving such a huge list in "To" field.. will it work or will it get the
whole thing crashing down.

OR

Will it be a better option to split the To list in to small lists of 100 and
then send more than 1 mail for each list of 100 users.

Any thoughts are welcome or Data in numbers on how many should be in To list
is safe number to send
 
vineetbatta said:
I am using MailMessage class of .NET framework .....

I have a scenerio in which i need to send mail to large number if users >
10,000 users.....

I know i can do ......

MailMessage msg = new MailMessage();
msg.To = (e-mail address removed);[email protected]; // Semi colon seperated alias
assigned.
SmtpServer.Send(msg);

But giving such a huge list in "To" field.. will it work or will it get
the
whole thing crashing down.

OR

Will it be a better option to split the To list in to small lists of 100
and
then send more than 1 mail for each list of 100 users.

Any thoughts are welcome or Data in numbers on how many should be in To
list
is safe number to send

You might want to check with the isp you are sending the mail through if
that is the case. Lots of times they restrict the number of recipients you
may have. I believe that the server you are sending through will dictate
the maximum you are able to send.

jjardine
 
Yes very valid point.
Lets assume that no such rule is set on the SMTP Server.

How much can SMTP support? Any threshold number beyond which it might behave
unpredictablely.

Regards
Vineet Batta
MCAD
 
vineetbatta said:
Yes very valid point.
Lets assume that no such rule is set on the SMTP Server.

How much can SMTP support? Any threshold number beyond which it might behave
unpredictablely.

Sending an email with that many people on the "To" line is a *really,
really* bad idea. It's just asking for someone to hit "reply to all"
and you'll end up with a nasty situation. At the very least use BCC,
but to avoid potential size problems, why not split it into 100 emails
to 100 people each?
 
Yes Jon, BCC is what is had on my mind. Though i wrote "To". Any way thanx
for the response.

Still i am looking for some information on the numbers which i could
consider safe in BCC list for each iteration of mail sent to recipients.

-Vineet Batta
 
Back
Top