tags:

views:

223

answers:

2

I am wondering what the best way to send bulk emails is using System.Net.Mail and C#.

Is it a good idea to send emails in batches?

Should I use the to field or BCC?

+1  A: 

I prefer using the To field and send e-mails one at a time in stead of using the BCC field. This way the receiver sees his e-mail address in the TO field (less spam-sensitive) and you can personalize the e-mails per user in the future.

For the sending, you should use batches to prevent timeouts and heavy server loads. You could use a queue for all the e-mails and send them using a configurable schedule using a service, scheduled task, or whatever.

Rody van Sambeek
A: 

If you do send a single email to multiple recipient and if it's for sending emails to people who don't know each other you should definitely use the BCC field otherwise you're sure to make a lot of people quite angry when you're giving away their email addresses to strangers (and you might also be breaking some kind of data protection law depending on where you live).

ho1