Need some help to write a C# code to send mail to multiple users but the email id of the users have to be hidden within a name.
For example, I want to send mail to email1@email.com, email2@email.com, email3@email.com, email4@email.com and at the To address instead of showing all these email id’s, I want to append all these 4 email id’s to a groupname say “allemailgroup” and send the mail so that all 4 individual mail id’s will be hidden.
2 possible solutions are: