Send multiple emails

S

shapper

Hello,

I need to send an email to multiple addresses (I expect no more than
2000).

This will be to send a newsletter. What is the best way to do this?
Use a loop and send 2000 emails?
Send maybe 20 emails with 200 people on the BCC for each?
....

Usually I send one email as follows:


MailMessage mail = new MailMessage();

mail.Body = body;
mail.From = from;
mail.IsBodyHtml = false;
mail.Priority = MailPriority.Normal;
mail.Subject = subject;
mail.To.Add(...);

try {

SmtpClient smtp = new SmtpClient();
smtp.Send(mail);

} catch {
// Do something
}

Thank You,
Miguel
 
A

Arne Vajhøj

I need to send an email to multiple addresses (I expect no more than
2000).

This will be to send a newsletter. What is the best way to do this?
Use a loop and send 2000 emails?
Send maybe 20 emails with 200 people on the BCC for each?

What is best?

If we assume that you mean fastest, then my suggestion will be:
- small number of threads
- sending to a medium size number of users (many mail servers
will reject 2000 recipients)
- always BCC to protect the recipients privacy

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top