Hi,
I am building an application to send mails (newsletter) which is like bulk mail to recipients. I am reading the mail ids from database and sending mail one by one to all, it works fine but some how the destination mail service provider like Yahoo is blocking that mails. Some people got mails and so many does not.
Seems they are thinking that as SPAM and blocking. Is any one have idea how to accomplish that.
C# corner also send the newsletter to all users, so how they have implemented? I don't want to use third party or third party component.
I would also like to handle the bounce email and un-delivered message, so i can remove that email id from my List.
Please help me or if some one has code to share will help..
Loading

naura paxRank #2,843 · 502 reputationPosted Oct 27, 2009, 10:38 PM EDT
second is to request read receipt
1.
static void ReadReceipts() { //create the mail message MailMessage mail = new MailMessage(); //set the addresses mail.From = new MailAddress("[email protected]"); mail.To.Add("[email protected]"); //set the content mail.Subject = "This is an email"; mail.Body = "this is the body content of the email."; //To request a read receipt, we need add a custom header named 'Disposition-Notification-To' //in this example, read receipts will go back to '[email protected]' //it's important to note that read receipts will only be sent by those mail clients that //a) support them //and //b)have them enabled. mail.Headers.Add("Disposition-Notification-To", "[email protected]>"); //send the message SmtpClient smtp = new SmtpClient("127.0.0.1"); smtp.Send(mail); }