views:

29

answers:

2

We are looking at sending some email notifications to about 1100 employees at a time. Each email would contain some personalized information, so sending one email with a huge BCC is out. Looping through and sending one at a time seems dumb.

In some of my homebrew projects I solved this type of problem by using SwiftMailer to send bulk email from PHP. Is there any equivalent, preferably free, for ASP.NET?

+1  A: 

Maybe you can simply use SmtpClient class which is already bundled with .Net framework? See

naivists
i've sent a couple thousand different messages in a simple loop with SmtpClient and it only took about 45 seconds (to an SMTP server on the same machine, admittedly). It also has SendAsync if you want to do them async
James Manning
This is what I've used before (at least I think so), it just seemed like there might be a better way ala SwiftMailer.
Shea Daniels
A: 

You can take a look at the examples that come with the mailer libraries from http://www.advancedintellect.com/. It works with background threads and datasets. I did some php work with SwiftMailer previously. The AI products is what I have decided upon for my .Net development work.

37Stars
This looks interesting but I don't know if we're willing to pay.
Shea Daniels
Normally I would agree with you. In some cases though you have to estimate the time it would take to write the code yourself (or your team) at an hourly rate. Then compare to the price of a library such as this. I have to do this myself as I want to write everything myself.
37Stars
That's true. I'm perfectly willing to use a good third party library. I may be able to convince the boss another time, but it doesn't seem too likely for this application. All the local governments around here have been hit pretty hard in the budget area.
Shea Daniels