You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send emails from your .Net application with a flexible solution that guarantee clean architectures, and access to different types of providers.
9
9
10
10
## Quick setup
11
11
12
-
to get started install the package using the [NuGet](https://www.nuget.org/packages/Email.NET/) package manager `Install-Package Email.Net`.
12
+
to get started install the package using the [NuGet](https://www.nuget.org/packages/Email.Net/) package manager `Install-Package Email.Net`.
13
13
14
14
## Getting started
15
15
@@ -57,15 +57,15 @@ now we have a message let's try to send it.
57
57
58
58
### 2- EDPs [Email Delivery Provider]
59
59
60
-
EDPs are what actually used to send the emails under the hood, when you install Email.NET you get an EDP by default which is `SmtpEmailDeliveryProvider` that you can use to send emails using SMTP.
60
+
EDPs are what actually used to send the emails under the hood, when you install Email.Net you get an EDP by default which is `SmtpEmailDeliveryProvider` that you can use to send emails using SMTP.
61
61
62
62
we have also other EDPs that you can use, but they exist in a separate packages:
63
63
64
-
-**[Email.NET.Socketlabs](https://www.nuget.org/packages/Email.Net.Socketlabs/):** to send emails using Socketlabs.
65
-
-**[Email.NET.SendGrid](https://www.nuget.org/packages/Email.Net.SendGrid/):** to send emails using SendGrid.
66
-
-**[Email.NET.MailKit](https://www.nuget.org/packages/Email.Net.MailKit/):** to send emails using MailKit.
67
-
-**[Email.NET.Mailgun](https://www.nuget.org/packages/Email.Net.Mailgun/):** to send emails using Mailgun.
68
-
-**[Email.NET.AmazonSES](https://www.nuget.org/packages/Email.Net.AmazonSES/):** to send emails using AmazonSES.
64
+
-**[Email.Net.Socketlabs](https://www.nuget.org/packages/Email.Net.Socketlabs/):** to send emails using Socketlabs.
65
+
-**[Email.Net.SendGrid](https://www.nuget.org/packages/Email.Net.SendGrid/):** to send emails using SendGrid.
66
+
-**[Email.Net.MailKit](https://www.nuget.org/packages/Email.Net.MailKit/):** to send emails using MailKit.
67
+
-**[Email.Net.Mailgun](https://www.nuget.org/packages/Email.Net.Mailgun/):** to send emails using Mailgun.
68
+
-**[Email.Net.AmazonSES](https://www.nuget.org/packages/Email.Net.AmazonSES/):** to send emails using AmazonSES.
69
69
70
70
and we will be adding more in the future, but if you want to create your own EDP you can follow this [tutorial](#) and you will learn how to build one.
71
71
@@ -141,7 +141,7 @@ var result = emailService.Send(message);
141
141
142
142
## working with Dependency Injection
143
143
144
-
to register Email.NET with DI we need to use [**Email.NET.DependencyInjection**](https://www.nuget.org/packages/Email.NET.DependencyInjection/) package, this package contains an extension method on the `IServiceCollection` interface that register the `EmailService` as a Scoped service.
144
+
to register Email.Net with DI we need to use [**Email.Net.DependencyInjection**](https://www.nuget.org/packages/Email.Net.DependencyInjection/) package, this package contains an extension method on the `IServiceCollection` interface that register the `EmailService` as a Scoped service.
145
145
146
146
once you have the package downloaded you can register Email.Net like so:
147
147
@@ -193,7 +193,7 @@ public class IndexModel : PageModel
193
193
194
194
here are some samples of how you can integrate Email.Net with different app types:
0 commit comments