Is there an ASP.NET equivalent of SwiftMailer for PHP?
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 ema开发者_Go百科il from PHP. Is there any equivalent, preferably free, for ASP.NET?
Update:
It seems like there is no direct equivalent to SwiftMailer (at least one that's free) so I've gone ahead and marked the answer that we didn't use another library. We haven't had any problems sending email though, and our code has been in production for quite a while now.
There are also new templating options that look interesting: http://razorengine.codeplex.com/
Maybe you can simply use SmtpClient
class which is already bundled with .Net framework?
See
- http://www.aspnettutorials.com/tutorials/email/email-aspnet2-vb.aspx for simple tutorial
- http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx - msdn documentation and examples
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.
精彩评论