From the course: ASP.NET Core: Communication Management

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Send an email to multiple receipts using SendGrid

Challenge: Send an email to multiple receipts using SendGrid - ASP.NET Core Tutorial

From the course: ASP.NET Core: Communication Management

Start my 1-month free trial

Challenge: Send an email to multiple receipts using SendGrid

(upbeat synthesizer music) - [Instructor] You learned how to send a single email using SendGrid. You passed the parameters from an asp.net core MVC razor view, and you used a service method. Now it's time for you to test your knowledge by sending a single email to multiple email addresses. To accomplish your goal, you don't need to create another view, but just a new service method and you can hard-code your data in there. Next, you need to create a list of email addresses and by the end, send the email to multiple addresses by using the method from the mail helper class. Give it a try, and if you cannot solve it, you can check my solution on the next clip.

Contents