Duration 13:41

How to Send an Email with Attachments in Core

31 537 watched
0
488
Published 24 Jun 2020

We strongly suggest reading our article on this topic to see how to enable the Application password feature for Gmail to be able to send emails with less secure apps. You can't use your own passwords anymore as Google has blocked the usage of less secure apps in Gmail. Want to learn more about building APIs and getting a six-figure income? Check out: ►► OUR BOOK: https://code-maze.com/ultimate-aspnet-core-3-web-api/?source=yt ►► OUR BLAZOR WEBASSEMBLY COURSE: https://code-maze.com/blazor-webassembly-course/?source=yt ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ DESCRIPTION: In this video, we are going to learn how to send an Email in ASP.NET Core. We are going to use synchronous and asynchronous ways to do that. Additionally, we are going to show you how to add attachments to the email message. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ LINKS MENTIONED IN THE VIDEO: To visit the whole article and download the source code visit: ►► https://code-maze.com/aspnetcore-send-email/ To visit our site: ►► https://code-maze.com/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ MORE CODE MAZE STUFF? And you can check out our Merch here: ►► https://www.redbubble.com/people/vpecanac/works/44764889-code-maze-merch?asc=u ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ FOLLOW US ON SOCIAL MEDIA! ►► https://twitter.com/CodeMazeBlog ►► https://www.facebook.com/CodeMazeBlog ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ VIDEO SUMMARY: In this video, we are going to learn how to send an email in the ASP.NET Core application. We are going to start with the simple project creation and creating a basic email configuration. Once we finish that, we are going to install the required Mailkit library and create the logic to send email messages from ASP.NET Core. We are going to show you both the synchronous and asynchronous ways to send email messages in ASP.NET Core and how to change di email body from the plain text to the pure HTML. Finally, we are going to learn how to include attachments in the email message. If you prefer to read about this topic and want to download the source code, you can visit our article on the Code Maze blog. The link is in the description below.

Category

Show more

Comments - 81