• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

How would I create a multi-threaded mass emailing program?

I'd like to see the latest in emailing tecnology from C# for an email with an HTML body and a single attachment.  And I'd like the program to be multi-threaded so I can be sending a hundred emails all at once.  It will be run as a web service, or if you can suggest another model where it can be run from my website.

I have Visual Studio 2005

thanks,
newbieweb
0
newbieweb
Asked:
newbieweb
  • 3
  • 2
2 Solutions
 
surajgupthaCommented:
Here is a ready to use program from code project but it has a larger technology stack.
http://www.codeproject.com/cs/internet/smartmassemail.asp?df=100&forumid=339160&exp=0&select=1943991

If you are just going to send hundreds of mails < 999. I dont think you would need multi-threading. What volume of spam are u trying to create ? :)
0
 
newbiewebSr. Software EngineerAuthor Commented:
it's not spam.  We just have a lot of customers.  

I do want to maximize the throughput of the connection and want multi-threading, if it's not too difficult to do.

what is "a  larger technology stack"?
0
 
surajgupthaCommented:
hey i was just kidding :)

Well what i meant was that just to implement this solution you might need Microsoft® SQL Server 2005. If u already have this, it wouldnt add on to your list of technoloiges to implement this.

Jus curious, How many mails are you looking to send?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
newbiewebSr. Software EngineerAuthor Commented:
about 100 billion.

just kidding :)

that WOULD be spam!

What's involved with getting this running at an ISP?  SQL Server 2005 would already be running.  Would I just need to provide a connection string or identify the SQL Server database to be used?
0
 
surajgupthaCommented:
well this solution from code project uses SQL server 2005 service broker. You may want to check with ur ISP if thats enabled.
I havent uses this product personally or know its sepcifics but i came to know about this when we were trying to implement a custom mass mailer program and some one came up with this already existing program. Try it out in your local setup, see if it meets ur requirement/volume/ performance first.
0
 
joesthebighmoeCommented:
It does not matter, your sever (say Exchange) is going to queue them up and send them when it feels like it. So your system could send 5000 emails at "once" however, the servers required to get those emails out in to internet-space is going to handle them one at a time more or less.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now