Reputation: 1195
Well, I want to write an application (C#) to send many emails at one time. It could be a situation - that I need to send from one email server many different messages to many different people.
I'm not really sure, how to do that (so the solution will be most effective) - but first I want to ask you, how to test that task. I mean.. I don't want to send spam to 1million unknown addresses.
I want to check - how long it will takes - Sending 1mln email messages from one server. Is that possible to make that test?
Thank you for your help.
Upvotes: 0
Views: 2093
Reputation: 258
There are many different ways to test this.
a. Message Generation: You would need to test how long C# would take to generate those messages. This would depend on how efficiently you write your message generation code - whether you employ threading, caching, etc.
b. Message Submission: You would need to test how fast C# can submit those messages to the server. This would depend on the network bandwidth you have to the email server, as well as how powerful the server is and whether it can handle you sending email to it on multiple threads.
c. Message Delivery: This would test how long it takes for the message to reach the user. This would depend on the server, and is probably not something you can do unless you actually do it.
Hope this helps!
Upvotes: 1
Reputation: 850
You have a couple options:
Upvotes: 2