hello i want to get all email addresses from database(emailtable) and each email against have unique record.i want to send emails on single click button like (send email) then Email will send all email addresses with unique record of the email addresses. how its possible.? tell me as soon as possible thanks.

Recommended Answers

All 3 Replies

Member Avatar for LastMitch

hello i want to get all email addresses from database(emailtable) and each email against have unique record.i want to send emails on single click button like (send email) then Email will send all email addresses with unique record of the email addresses. how its possible.? tell me as soon as possible thanks.

I'm not familiar with asp language but here is couple of links regarding about email multiple send:

http://www.c-sharpcorner.com/uploadfile/anjudidi/send-multiple-email-at-the-same-time-in-Asp-Net-with-attached-file/

http://www.aspsnippets.com/Articles/How-to-send-email-with-Multiple-Attachments-in-ASPNet-Website.aspx

If you still have questions explain it more clearly or so some code with you have one

First, are you writing your code in c# or vb.net? Do you have any code? You are basically going to make a database connenction once the click occurs and loop through the results of your query sending an email message to each email address.

i am using c# language my problem is solved.i used foreach loop thanks both of you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.