Click here to Skip to main content
13,345,954 members (53,588 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have used a gmail account to send a mail to multiple users,but my NetworkCredential
is my own company server,
i have used
MailMessage objMessage = new MailMessage();
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)

Mail has sent to all users but the problem is each user can see all the mail id which i have added ,
how can i solve the problem
Posted 13-Oct-12 3:56am
Updated 13-Oct-12 4:40am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Use the BCC[^] list instead of the To list - send it to a "safe" address, and add eveybody else as BCC.

BCC stands for "Blind Carbon Copy", and is similar to the CC list, but names are not listed to anyone.
ridoy 13-Oct-12 9:55am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180111.1 | Last Updated 13 Oct 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100