Hi friends,
I want to know that I am working with ASP.NET then how we will send an Email to the multiple person but the Email_id should read from the M/S Access database? If anyone knows that how it is possible to do that please tell me?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted Apr 2, 2012, 1:00 AM
You need to load the data from the database and keep the result in the DataTable or custom collections or Arrays.
You need to include the System.Net namespace for sending the emails.
The marked in the bold letter is the place to add the recipient mail address. If you want to send in one shot then you need to iterate the db list users email id in the message.To.Add property.
If you have string array then
http://www.etechplanet.com/blog/how-to-send-email-in-an-aspnet-web-application-using-c.aspx