This is the source code for "Send HTML Emails with Attachments using FluentEmail, C# and .NET 5" video tutorial. Click here to check it out. Feel free to clone and use.
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 show you how to do that. Specifically, we wrote C# code to do the following:
- Send plain text emails using SMTP and your free Gmail account. SMTP stands for Simple Mail Transfer protocol
- Send HTML emails with images and buttons using SMTP and your free Gmail account.
- Send HTML emails with the PDF file attachment using the same SMTP and your free Gmail account for sent emails.
- Send HTML emails with images and buttons using a transactional email provider API.
- Send HTML emails with a PDF file attachment using a transactional email provider API and
- Send a newsletter or bulk HTML emails with images using a transactional email provider.
This tutorial covers almost all the common email sending scenarios. You can just copy and reuse in your .NET applications.
- YouTube - Channel
- Website - Mark's Coding Spot
- Twitter - @markscodingspot
- Facebook - @markscodingspot