Sending a email with CCs and BCCs using ASP.NET 4.0 and VB.NET is actually very simple and easy to accomplish.

First, you will need to import the System.Net.Mail namespace.

The System.Net.Mail namespace contains the SmtpClient and MailMessage Classes that we need in order to send the email and specify the CCs.

We use the btnSubmit_Click event to do the work. To access the event, go to design view and double click on the button. This will take you into the code behind for our aspx page.

We then call the emailClient.Send to send the message using the variables from our ASP.NET coded page. We use the CC and Bcc methods to add the emails we would like to CC to. We will also be declaring the other variables, such as grabbing the sender and receiver, and accepting a body value for the email.

In this tutorial we learned about Sending Email with CC and BCC using ASP.NET 4.0 and C#. While this is a real simple example you can expand on this to build your own mailing system. This simple example can turn into a powerful tool and explains how to use the mail functions included in ASP.NET.

Download Source Files