Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Send an Email with Attachments in ASP.NET Core
ChannelCode MazeChapters
Description from the creator
►► Check out our courses: bit.ly/cdmz-courses
►► Support us on Patreon and get the source code: patreon.com/CodeMaze
IMPORTANT: 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.
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:
►► code-maze.com/aspnetcore-send-email/
To visit our site:
►► code-maze.com/
FOLLOW US ON SOCIAL MEDIA!
►► linkedin.com/in/marinko-spasojevic/
►► twitter.com/CodeMazeBlog
►► 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 the email body from plain text to pure HTML.
Finally, we are going to learn how to include attachments in the email message.
⏱️ Chapters
0:00 Intro
1:04 Project Setup and Configuration
3:03 Email Sender Interface and Class
6:28 Sending the First Email
8:03 HTML Body and Async Sending
10:17 Adding Email Attachments
►► Support us on Patreon and get the source code: patreon.com/CodeMaze
IMPORTANT: 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.
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:
►► code-maze.com/aspnetcore-send-email/
To visit our site:
►► code-maze.com/
FOLLOW US ON SOCIAL MEDIA!
►► linkedin.com/in/marinko-spasojevic/
►► twitter.com/CodeMazeBlog
►► 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 the email body from plain text to pure HTML.
Finally, we are going to learn how to include attachments in the email message.
⏱️ Chapters
0:00 Intro
1:04 Project Setup and Configuration
3:03 Email Sender Interface and Class
6:28 Sending the First Email
8:03 HTML Body and Async Sending
10:17 Adding Email Attachments
About this tutorial
Code Maze published this 13:41 video tutorial on July 8, 2020. It has been watched 36,930 times on YouTube.
Share
This tutorial in other languages
- FRComment envoyer un e-mail avec pièces jointes dans ASP.NET base
- ESCómo enviar un correo electrónico con archivos adjuntos en ASP.NET Core
- PTComo enviar um e-mail com anexos em ASP.NET Núcleo
- ITCome inviare una e-mail con allegati in ASP.NET core
- DEWie E-Mail mit Anhängen in ASP.NET Core senden
- NLHoe stel ik een e-mail met bijlagen in ASP.NET Core
- RUКак отправить письмо с вложениями в ASP.NET Ядра
- PLJak wysłać e-mail z załącznikami w ASP.NET Rdzenia
- JAASP.NETコアの添付ファイルでメールを送信する方法
- ARكيفية إرسال البريد الإلكتروني مع المرفقات في ASP.NET الأساسية
- HIकैसे ASP.NET कोर में अनुलग्नक के साथ एक ईमेल भेजने के
- IDCara Kirim Email dengan Lampiran di ASP.NET Inti