Sending Group Mails from Asp.net -urgent pls help

Posted by Gayathri under ASP.NET on 6/7/2012 | Points: 10 | Views : 1569 | Status : [Member] | Replies : 2
I need to send group mails from Asp.net application using System.net.Mail.

The scenario is , this is a job alert which i need to send for more than 100 candidates.
I cannot keep adding cc.to.Add everytime to each address.

please advise me a better code for the same. The ids are available in database anyway and i am picking them up with a dataset.




Responses

Posted by: Santhi on: 6/7/2012 [Member] Starter | Points: 25

Up
0
Down
write the mail coding in the for loop.
Run the loop till you have the values in the dataset

Thanks & Regards,
Santhi .V

Gayathri, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: .Netlearner on: 6/7/2012 [Member] Starter | Points: 25

Up
0
Down
You can use the repeater control that is similar to looping.Looping vl be the best option Use For loop Until u have values in dataset

Gayathri, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response