Click here to Skip to main content
15,901,284 members
Home / Discussions / C#
   

C#

 
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 
Hey guys, I'm just looking for someone to point me in the right direction here, not necessarily provide a solution..

I have been tasked with writing a lightweight program for sending out email newsletters. This in itself has been easy enough to do.. but obviously I want to be able to send to as many recipients as fast as is possible.

At the moment my solution sends 1 email at a time (the to address is provided by a stored procedure that returns 1 at a time), but this is a little slow.

Having looked into it a little bit, I know I can send up to 5 emails concurrently using my smtp server before they start being throttled, and that I should be recycling the connections rather than creating and dropping them each time. I have been trying to get my head round the problem and seem to have a mental block as to the best way to create these new connections and recycle them.

Some pointers would be great if anyone can advise.

Thank you!
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 
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 
AnswerRe: Run Multiple Forms Pin
share_holder22-Aug-11 1:14
share_holder22-Aug-11 1:14 
GeneralRe: Run Multiple Forms Pin
Not Active22-Aug-11 2:14
mentorNot Active22-Aug-11 2:14 
GeneralRe: Run Multiple Forms Pin
share_holder22-Aug-11 21:16
share_holder22-Aug-11 21:16 
AnswerRe: Run Multiple Forms [modified] Pin
BillWoodruff22-Aug-11 3:17
professionalBillWoodruff22-Aug-11 3:17 

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.