Home > Mobile >  How to Add CC or Bcc in Send Email With Send grid in .net Core C# 3.1 Version
How to Add CC or Bcc in Send Email With Send grid in .net Core C# 3.1 Version

Time:11-15

I wan to Send An Email With CC And Bcc, So finding the Solution How to add on it. I am using .NET core and Version has 3.1 Here been the Function That in Photo.

Thanks You. enter image description here

Try to find the solution.

CodePudding user response:

As per SendGrid's documentation and source code all this can be found here.

        SendGridMessage msg = new SendGridMessage();
        msg.AddCc(new EmailAddress("[email protected]", "Example User1"));          
        msg.AddBcc(new EmailAddress("[email protected]", "Example User2"));
        
  • Related