2012-04-12 47 views
-7

我想向3000多個客戶發送相同的電子郵件,那麼最好的方法是什麼?是否有工具需要列出電子郵件地址和電子郵件正文?注意:我有郵件服務器如何將同一電子郵件發送給3000多個客戶

+8

那有什麼問題?垃圾郵件過濾器? – 2012-04-12 10:22:23

+0

我認爲你正在尋找一些可用的羣發郵件程序,你可以谷歌爲它,我認爲http://www.massmailersoft.com/應該適合你 – 2012-04-12 10:24:43

+0

@Akash Yadav:非常感謝,但是有沒有免費的工具 – JustMe 2012-04-12 10:26:44

回答

2
List<Customer> customerList = GetAllCustomers(); 

string subject = "Hello World"; 
string content = GetContent(); 

// Loop through all customers and send e-mail to each 
foreach(Customer customer in customerList) 
{ 
    MailMessage newMail = new MailMessage("[email protected]", customer.Email, subject, content); 

    newMail.IsBodyHtml = true; 

    SmtpClient sender = new SmtpClient(); 

    sender.Send(newMail); 
} 

如果您有客戶個性化的電子郵件,可以在循環中移動GetContent()。

我希望你有他們的許可發送他們的電子郵件。我與你分享這個代碼的前提是它將而不是用於垃圾郵件的人。

相關問題