Click here to Skip to main content
16,004,653 members
Home / Discussions / C#
   

C#

 
Questionsend an email to many email address from datagridview colomn Pin
Member 115798702-Jun-15 1:49
Member 115798702-Jun-15 1:49 
AnswerRe: send an email to many email address from datagridview colomn Pin
OriginalGriff2-Jun-15 1:56
mveOriginalGriff2-Jun-15 1:56 
GeneralRe: send an email to many email address from datagridview colomn Pin
Member 115798702-Jun-15 2:00
Member 115798702-Jun-15 2:00 
GeneralRe: send an email to many email address from datagridview colomn Pin
OriginalGriff2-Jun-15 2:04
mveOriginalGriff2-Jun-15 2:04 
GeneralRe: send an email to many email address from datagridview colomn Pin
Member 115798702-Jun-15 2:17
Member 115798702-Jun-15 2:17 
GeneralRe: send an email to many email address from datagridview colomn Pin
Chris Quinn2-Jun-15 2:22
Chris Quinn2-Jun-15 2:22 
GeneralRe: send an email to many email address from datagridview colomn Pin
Member 115798702-Jun-15 2:25
Member 115798702-Jun-15 2:25 
GeneralRe: send an email to many email address from datagridview colomn Pin
Chris Quinn2-Jun-15 2:29
Chris Quinn2-Jun-15 2:29 
You need to loop through the rows in the dataset.

Create the email object, set the text, attachments etc as you do now, then loop through the dataset, adding the email address, followed by a semicolon, to the BCC address, so at the end of the loop it will look something like:
joe.bloggs@email.co.uk;jane.do@hotmail.com;member.11579870@codeproject.com;

After populating the address field, send the email.
=========================================================
I'm an optoholic - my glass is always half full of vodka.
=========================================================

GeneralRe: send an email to many email address from datagridview colomn Pin
OriginalGriff2-Jun-15 2:25
mveOriginalGriff2-Jun-15 2:25 
Questionhow to bind sql data in kendo ui grid in webpage not in mvc Pin
anjus123431-May-15 10:58
anjus123431-May-15 10:58 
Answer[Repost] Pin
Sascha Lefèvre31-May-15 11:30
professionalSascha Lefèvre31-May-15 11:30 
Questionhow to create a simple chart drawing library Pin
Member 1041780831-May-15 7:17
Member 1041780831-May-15 7:17 
AnswerRe: how to create a simple chart drawing library Pin
Sascha Lefèvre31-May-15 8:10
professionalSascha Lefèvre31-May-15 8:10 
GeneralRe: how to create a simple chart drawing library Pin
Member 1041780831-May-15 9:26
Member 1041780831-May-15 9:26 
GeneralRe: how to create a simple chart drawing library Pin
Sascha Lefèvre31-May-15 9:35
professionalSascha Lefèvre31-May-15 9:35 
QuestionC # Pin
Member 1116544331-May-15 2:11
Member 1116544331-May-15 2:11 
AnswerRe: C # Pin
Sascha Lefèvre31-May-15 2:17
professionalSascha Lefèvre31-May-15 2:17 
AnswerRe: C # Pin
OriginalGriff31-May-15 2:47
mveOriginalGriff31-May-15 2:47 
AnswerRe: C # Pin
Abhipal Singh31-May-15 2:53
professionalAbhipal Singh31-May-15 2:53 
AnswerRe: C # Pin
Ravi Bhavnani1-Jun-15 5:36
professionalRavi Bhavnani1-Jun-15 5:36 
JokeRe: C # Pin
Richard Deeming1-Jun-15 8:47
mveRichard Deeming1-Jun-15 8:47 
GeneralRe: C # Pin
Ravi Bhavnani1-Jun-15 8:56
professionalRavi Bhavnani1-Jun-15 8:56 
QuestionAction<T> Delegate usage between 2 applications Pin
Member 1171394230-May-15 23:01
Member 1171394230-May-15 23:01 
AnswerRe: Action<T> Delegate usage between 2 applications Pin
Richard MacCutchan31-May-15 1:11
mveRichard MacCutchan31-May-15 1:11 
AnswerRe: Action<T> Delegate usage between 2 applications Pin
BillWoodruff31-May-15 1:55
professionalBillWoodruff31-May-15 1:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.