Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Michael A. Cochran23-Aug-11 9:17
Michael A. Cochran23-Aug-11 9:17 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
fuximus23-Aug-11 15:40
fuximus23-Aug-11 15:40 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 8:54
KP Lee23-Aug-11 8:54 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
vaibhav9223-Aug-11 19:34
vaibhav9223-Aug-11 19:34 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
lukeer23-Aug-11 22:40
lukeer23-Aug-11 22:40 
QuestionC# .net mass emailer Pin
markymark8222-Aug-11 3:38
markymark8222-Aug-11 3:38 
AnswerRe: C# .net mass emailer Pin
jschell22-Aug-11 9:24
jschell22-Aug-11 9:24 
GeneralRe: C# .net mass emailer Pin
markymark8222-Aug-11 22:15
markymark8222-Aug-11 22:15 
I'm using the System.Net.Mail class, so it's entirely likely my question doesn't make sense.
The sort of volume it could have to handle is up to around 80k messages + more as the list grows.

Each email is customised to the address with individual tracking strings on the URLs etc. hence being provided 1 at a time from a stored procedure.

Unfortunately, we are using authsmtp as our smtp server for improved deliverability, hence the limit to 5 connections at a time, and that can't be changed.

I have observed that actually recycling the connections gives a very minimal speed improvement, so I'm prepared to overlook that if need be, but I'm unsure of how to restrict the number of smtp connections open at any 1 time, waiting to send the next email until the number of open connections drops to fewer than 5 again.

I'm sure it must be fairly simple, and that I'm missing a key point somewhere, but as yet I've not found it. What has already been written for this task, initially started as a test, but it proved suitable for sending the few emails that it needed to, giving us the flexibility we needed, however, now that people have seen that it can be useful, they want to use it for higher volumes, so now I need to look at changing it and getting it right.

Thanks for the reply Smile | :)
GeneralRe: C# .net mass emailer Pin
BobJanova22-Aug-11 23:51
BobJanova22-Aug-11 23:51 
GeneralRe: C# .net mass emailer Pin
markymark8223-Aug-11 0:01
markymark8223-Aug-11 0:01 
GeneralRe: C# .net mass emailer Pin
jschell23-Aug-11 9:31
jschell23-Aug-11 9:31 
QuestionPlease tell me what this silverlight warning message means. Pin
Xarzu21-Aug-11 22:59
Xarzu21-Aug-11 22:59 
AnswerRe: Please tell me what this silverlight warning message means. Pin
Simon Bang Terkildsen21-Aug-11 23:44
Simon Bang Terkildsen21-Aug-11 23:44 
QuestionRun Multiple Forms Pin
share_holder21-Aug-11 22:45
share_holder21-Aug-11 22:45 
AnswerRe: Run Multiple Forms Pin
Wayne Gaylard21-Aug-11 23:00
professionalWayne Gaylard21-Aug-11 23:00 
AnswerRe: Run Multiple Forms [modified] Pin
Shameel21-Aug-11 23:39
professionalShameel21-Aug-11 23:39 
GeneralRe: Run Multiple Forms Pin
BillWoodruff22-Aug-11 3:34
professionalBillWoodruff22-Aug-11 3:34 
GeneralRe: Run Multiple Forms Pin
Luc Pattyn22-Aug-11 3:49
sitebuilderLuc Pattyn22-Aug-11 3:49 
GeneralRe: Run Multiple Forms Pin
Shameel22-Aug-11 4:04
professionalShameel22-Aug-11 4:04 
GeneralRe: Run Multiple Forms [modified] Pin
BillWoodruff22-Aug-11 20:24
professionalBillWoodruff22-Aug-11 20:24 
GeneralRe: Run Multiple Forms Pin
Luc Pattyn23-Aug-11 1:45
sitebuilderLuc Pattyn23-Aug-11 1:45 
GeneralRe: Run Multiple Forms Pin
Shameel22-Aug-11 4:03
professionalShameel22-Aug-11 4:03 
GeneralRe: Run Multiple Forms Pin
BillWoodruff22-Aug-11 20:35
professionalBillWoodruff22-Aug-11 20:35 
AnswerRe: Run Multiple Forms Pin
share_holder21-Aug-11 23:53
share_holder21-Aug-11 23:53 
GeneralRe: Run Multiple Forms Pin
BillWoodruff22-Aug-11 3:44
professionalBillWoodruff22-Aug-11 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.