Send HTML Emails with Attachments using FluentEmail, C# and NET 5

Описание к видео Send HTML Emails with Attachments using FluentEmail, C# and NET 5

You can send emails with file attachments using C# and FluentEmail. In this tutorial, I'll show you how to do that in .NET 5.0 MVC. Specifically, we will write C# code to do the following:

1. Send plain text emails using SMTP and your free Gmail account. SMTP stands for Simple Mail Transfer protocol
2. Send HTML emails with images and buttons using SMTP and your free Gmail account.
3. Send HTML emails with the PDF file attachment using the same SMTP and your free Gmail account for sent emails.
4. With images and buttons using a transactional email provider API in this instance will use angry.
5. Send HTML emails with a PDF file attachment using a transactional email provider API and
6. Send a newsletter or bulk HTML emails with images using a transactional email provider.

This tutorial will cover almost all the common email sending scenarios. My goal is to help you write code that you can just copy and reuse in your .NET applications.

Source code:
Github: https://github.com/coommark/Beautiful...

------Contents-------

0:00​​ - Intro
1:45​ - Creating ASP.NET 5.0 sample app
3:01​ - Adding FluentEmail Packages using NuGet
08:07​ - Enabling Less Secure App Access in Gmail
09:16​ - Sending First Plaintext Email using SMTP & Gmail
21:41​ - Moving Config. Settings to appsettings.json
26:16​ - DI Entry for SmtpSender in Startup.cs
36:34​ - Sending Second Email using FluentEmail DI
44:05​ - IMailSender Sender Interface
01:07:40​ - Getting Free HTML Email Template
01:18:33​ - Sending HTML Email Using SMTP & Gmail
01:28:40​ - Sending Email with PDF Attachment Using SMTP & Gmail
01:42:40​ - Setting Up Sendgrid
01:55:05​ - Sending HTML Email Using Sendgrid
01:55:41​ - Sending Email with PDF Attachment Using Sendgrid
01:56:26​ - Sending Bulk Emails Using Sendgrid
02:10:45​ - Conclusion

Website - https://markscodingspot.com
Facebook -   / markscodingspot  
Twitter -   / markscodingspot  
Instagram -   / markscodingspot  

Комментарии

Информация по комментариям в разработке