Skip to content

Commit 55467aa

Browse files
authored
Merge pull request #1 from YoussefSell/Development
refactored some code & updated the package namespace
2 parents f3f389d + ddf17cb commit 55467aa

File tree

140 files changed

+696
-392
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+696
-392
lines changed

.github/workflows/cd.yml

+22-22
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,30 @@ jobs:
2020
run: dotnet build --configuration Release --no-restore
2121

2222
- name: Pack Email.Net
23-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/Core/Email.NET/Email.NET.csproj -o .
24-
- name: Pack Email.NET.Socketlabs
25-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.NET.Socketlabs/Email.NET.Socketlabs.csproj -o .
26-
- name: Pack Email.NET.SendGrid
27-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.NET.SendGrid/Email.NET.SendGrid.csproj -o .
28-
- name: Pack Email.NET.MailKit
29-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.NET.MailKit/Email.NET.MailKit.csproj -o .
30-
- name: Pack Email.NET.Mailgun
31-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.NET.Mailgun/Email.NET.Mailgun.csproj -o .
32-
- name: Pack Email.NET.AmazonSES
33-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.NET.AmazonSES/Email.NET.AmazonSES.csproj -o .
23+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/Core/Email.Net/Email.Net.csproj -o .
24+
- name: Pack Email.Net.Socketlabs
25+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.Net.Socketlabs/Email.Net.Socketlabs.csproj -o .
26+
- name: Pack Email.Net.SendGrid
27+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.Net.SendGrid/Email.Net.SendGrid.csproj -o .
28+
- name: Pack Email.Net.MailKit
29+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.Net.MailKit/Email.Net.MailKit.csproj -o .
30+
- name: Pack Email.Net.Mailgun
31+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.Net.Mailgun/Email.Net.Mailgun.csproj -o .
32+
- name: Pack Email.Net.AmazonSES
33+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/EmailDeliveryProviders/Email.Net.AmazonSES/Email.Net.AmazonSES.csproj -o .
3434

3535
- name: Pack Email.Net.DependencyInjection
36-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.NET.DependencyInjection/Email.NET.DependencyInjection.csproj -o .
37-
- name: Pack Email.NET.Socketlabs.DependencyInjection
38-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.NET.Socketlabs.DependencyInjection/Email.NET.Socketlabs.DependencyInjection.csproj -o .
39-
- name: Pack Email.NET.SendGrid.DependencyInjection
40-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.NET.SendGrid.DependencyInjection/Email.NET.SendGrid.DependencyInjection.csproj -o .
41-
- name: Pack Email.NET.MailKit.DependencyInjection
42-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.NET.MailKit.DependencyInjection/Email.NET.MailKit.DependencyInjection.csproj -o .
43-
- name: Pack Email.NET.Mailgun.DependencyInjection
44-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.NET.Mailgun.DependencyInjection/Email.NET.Mailgun.DependencyInjection.csproj -o .
45-
- name: Pack Email.NET.AmazonSES.DependencyInjection
46-
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.NET.AmazonSES.DependencyInjection/Email.NET.AmazonSES.DependencyInjection.csproj -o .
36+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.Net.DependencyInjection/Email.Net.DependencyInjection.csproj -o .
37+
- name: Pack Email.Net.Socketlabs.DependencyInjection
38+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.Net.Socketlabs.DependencyInjection/Email.Net.Socketlabs.DependencyInjection.csproj -o .
39+
- name: Pack Email.Net.SendGrid.DependencyInjection
40+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.Net.SendGrid.DependencyInjection/Email.Net.SendGrid.DependencyInjection.csproj -o .
41+
- name: Pack Email.Net.MailKit.DependencyInjection
42+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.Net.MailKit.DependencyInjection/Email.Net.MailKit.DependencyInjection.csproj -o .
43+
- name: Pack Email.Net.Mailgun.DependencyInjection
44+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.Net.Mailgun.DependencyInjection/Email.Net.Mailgun.DependencyInjection.csproj -o .
45+
- name: Pack Email.Net.AmazonSES.DependencyInjection
46+
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release src/DependencyInjection/Email.Net.AmazonSES.DependencyInjection/Email.Net.AmazonSES.DependencyInjection.csproj -o .
4747

4848
- name: Push packages
4949
run: dotnet nuget push *.nupkg --api-key ${{secrets.NUGET_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate

CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [1.0.0]
8+
## [1.1.0]
9+
10+
#### Changed
911

12+
- updated some functions comments.
13+
- updated the naming of the projects and namespaces from .NET to .Net.
14+
- updated `WithHeaders()` input type from Dictionary to `IEnumerable<KeyValuePair<string, string>>`
15+
- updated `WithHeaders()` method on the message composer to add the list of to append the values to internal list instead of overriding it,
16+
- updated the visibility of the message constructor to internal, to make sure all message instances are created through the factory.
17+
18+
## [1.0.0]
19+
1020
the initial release

Email.NET.sln Email.Net.sln

+25-16
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,33 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{419A6ACE-041
88
src\Directory.Build.props = src\Directory.Build.props
99
EndProjectSection
1010
EndProject
11-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET", "src\Core\Email.NET\Email.NET.csproj", "{8B270DD8-E45A-4E06-8DC9-52FC58112395}"
11+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net", "src\Core\Email.Net\Email.Net.csproj", "{8B270DD8-E45A-4E06-8DC9-52FC58112395}"
1212
EndProject
13-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.Socketlabs", "src\EmailDeliveryProviders\Email.NET.Socketlabs\Email.NET.Socketlabs.csproj", "{532E5F8B-628F-4387-8F8B-547048CB3F65}"
13+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.Socketlabs", "src\EmailDeliveryProviders\Email.Net.Socketlabs\Email.Net.Socketlabs.csproj", "{532E5F8B-628F-4387-8F8B-547048CB3F65}"
1414
EndProject
15-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.SendGrid", "src\EmailDeliveryProviders\Email.NET.SendGrid\Email.NET.SendGrid.csproj", "{C78E766E-D274-4171-BF86-06676099FF7D}"
15+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.SendGrid", "src\EmailDeliveryProviders\Email.Net.SendGrid\Email.Net.SendGrid.csproj", "{C78E766E-D274-4171-BF86-06676099FF7D}"
1616
EndProject
17-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.Mailgun", "src\EmailDeliveryProviders\Email.NET.Mailgun\Email.NET.Mailgun.csproj", "{9EED58AC-08DA-4C50-915B-2D202BB4239D}"
17+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.Mailgun", "src\EmailDeliveryProviders\Email.Net.Mailgun\Email.Net.Mailgun.csproj", "{9EED58AC-08DA-4C50-915B-2D202BB4239D}"
1818
EndProject
19-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.MailKit", "src\EmailDeliveryProviders\Email.NET.MailKit\Email.NET.MailKit.csproj", "{6B0D92F0-829E-4C6D-A0FD-8878467865E6}"
19+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.MailKit", "src\EmailDeliveryProviders\Email.Net.MailKit\Email.Net.MailKit.csproj", "{6B0D92F0-829E-4C6D-A0FD-8878467865E6}"
2020
EndProject
21-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.AmazonSES", "src\EmailDeliveryProviders\Email.NET.AmazonSES\Email.NET.AmazonSES.csproj", "{46BCC0E9-4D2E-48E2-A055-5315D95B9A34}"
21+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.AmazonSES", "src\EmailDeliveryProviders\Email.Net.AmazonSES\Email.Net.AmazonSES.csproj", "{46BCC0E9-4D2E-48E2-A055-5315D95B9A34}"
2222
EndProject
23-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.DependencyInjection", "src\DependencyInjection\Email.NET.DependencyInjection\Email.NET.DependencyInjection.csproj", "{BFEC2A90-2173-472A-87BF-DBB19BE58E04}"
23+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.DependencyInjection", "src\DependencyInjection\Email.Net.DependencyInjection\Email.Net.DependencyInjection.csproj", "{BFEC2A90-2173-472A-87BF-DBB19BE58E04}"
2424
EndProject
25-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.Socketlabs.DependencyInjection", "src\DependencyInjection\Email.NET.Socketlabs.DependencyInjection\Email.NET.Socketlabs.DependencyInjection.csproj", "{BB78E9E0-82C9-4C7C-B115-4B7A0CED6AE5}"
25+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.Socketlabs.DependencyInjection", "src\DependencyInjection\Email.Net.Socketlabs.DependencyInjection\Email.Net.Socketlabs.DependencyInjection.csproj", "{BB78E9E0-82C9-4C7C-B115-4B7A0CED6AE5}"
2626
EndProject
27-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.SendGrid.DependencyInjection", "src\DependencyInjection\Email.NET.SendGrid.DependencyInjection\Email.NET.SendGrid.DependencyInjection.csproj", "{028B993D-49E9-415C-A3A2-55ADF8F69EEE}"
27+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.SendGrid.DependencyInjection", "src\DependencyInjection\Email.Net.SendGrid.DependencyInjection\Email.Net.SendGrid.DependencyInjection.csproj", "{028B993D-49E9-415C-A3A2-55ADF8F69EEE}"
2828
EndProject
29-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.MailKit.DependencyInjection", "src\DependencyInjection\Email.NET.MailKit.DependencyInjection\Email.NET.MailKit.DependencyInjection.csproj", "{6D875C97-3E60-4DD0-99BE-ECA4E30AD243}"
29+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.MailKit.DependencyInjection", "src\DependencyInjection\Email.Net.MailKit.DependencyInjection\Email.Net.MailKit.DependencyInjection.csproj", "{6D875C97-3E60-4DD0-99BE-ECA4E30AD243}"
3030
EndProject
31-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.Mailgun.DependencyInjection", "src\DependencyInjection\Email.NET.Mailgun.DependencyInjection\Email.NET.Mailgun.DependencyInjection.csproj", "{D9B54852-B9A9-45A0-B404-46C6872FE362}"
31+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.Mailgun.DependencyInjection", "src\DependencyInjection\Email.Net.Mailgun.DependencyInjection\Email.Net.Mailgun.DependencyInjection.csproj", "{D9B54852-B9A9-45A0-B404-46C6872FE362}"
3232
EndProject
33-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.AmazonSES.DependencyInjection", "src\DependencyInjection\Email.NET.AmazonSES.DependencyInjection\Email.NET.AmazonSES.DependencyInjection.csproj", "{43D18BB8-5015-47D4-AC3E-53EEFC4596A5}"
33+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.AmazonSES.DependencyInjection", "src\DependencyInjection\Email.Net.AmazonSES.DependencyInjection\Email.Net.AmazonSES.DependencyInjection.csproj", "{43D18BB8-5015-47D4-AC3E-53EEFC4596A5}"
3434
EndProject
3535
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{15EA4737-125B-4E6E-A806-E13B7EBCDCCF}"
3636
EndProject
37-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.Test", "tests\Email.NET.Test\Email.NET.Test.csproj", "{75564347-A814-44DF-9F78-2B3EF4598073}"
37+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.Test", "tests\Email.Net.Test\Email.Net.Test.csproj", "{75564347-A814-44DF-9F78-2B3EF4598073}"
3838
EndProject
3939
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "EmailDeliveryProviders", "EmailDeliveryProviders", "{8727C7CD-012D-4857-9A96-BD29D4690410}"
4040
EndProject
@@ -48,11 +48,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
4848
EndProject
4949
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E910BB4C-7688-4422-BAA9-59DBE6487147}"
5050
EndProject
51-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.Samples.Console", "samples\Email.NET.Samples.Console\Email.NET.Samples.Console.csproj", "{7FD6770C-4F1F-4706-9023-D0CD1C694B66}"
51+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.Samples.Console", "samples\Email.Net.Samples.Console\Email.Net.Samples.Console.csproj", "{7FD6770C-4F1F-4706-9023-D0CD1C694B66}"
5252
EndProject
53-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.Samples.ASPCore", "samples\Email.NET.Samples.ASPCore\Email.NET.Samples.ASPCore.csproj", "{9C7C4B0B-833E-43D2-B2D9-F9A813938F42}"
53+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.Samples.ASPCore", "samples\Email.Net.Samples.ASPCore\Email.Net.Samples.ASPCore.csproj", "{9C7C4B0B-833E-43D2-B2D9-F9A813938F42}"
5454
EndProject
55-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.NET.EDPs.Test", "tests\Email.NET.EDPs.Test\Email.NET.EDPs.Test.csproj", "{D777598B-337A-42B2-8C41-A1EBC31863A2}"
55+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Email.Net.EDPs.Test", "tests\Email.Net.EDPs.Test\Email.Net.EDPs.Test.csproj", "{D777598B-337A-42B2-8C41-A1EBC31863A2}"
56+
EndProject
57+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "templates", "templates", "{DBEF4524-D629-4572-B608-EF2C40FC6EA2}"
58+
EndProject
59+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Email.Net.EDP.Template", "templates\Email.Net.EDP.Template\Email.Net.EDP.Template.csproj", "{EF64F513-8E91-42D4-8C1A-86B9170CCBA7}"
5660
EndProject
5761
Global
5862
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -124,6 +128,10 @@ Global
124128
{D777598B-337A-42B2-8C41-A1EBC31863A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
125129
{D777598B-337A-42B2-8C41-A1EBC31863A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
126130
{D777598B-337A-42B2-8C41-A1EBC31863A2}.Release|Any CPU.Build.0 = Release|Any CPU
131+
{EF64F513-8E91-42D4-8C1A-86B9170CCBA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
132+
{EF64F513-8E91-42D4-8C1A-86B9170CCBA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
133+
{EF64F513-8E91-42D4-8C1A-86B9170CCBA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
134+
{EF64F513-8E91-42D4-8C1A-86B9170CCBA7}.Release|Any CPU.Build.0 = Release|Any CPU
127135
EndGlobalSection
128136
GlobalSection(SolutionProperties) = preSolution
129137
HideSolutionNode = FALSE
@@ -147,6 +155,7 @@ Global
147155
{7FD6770C-4F1F-4706-9023-D0CD1C694B66} = {E910BB4C-7688-4422-BAA9-59DBE6487147}
148156
{9C7C4B0B-833E-43D2-B2D9-F9A813938F42} = {E910BB4C-7688-4422-BAA9-59DBE6487147}
149157
{D777598B-337A-42B2-8C41-A1EBC31863A2} = {15EA4737-125B-4E6E-A806-E13B7EBCDCCF}
158+
{EF64F513-8E91-42D4-8C1A-86B9170CCBA7} = {DBEF4524-D629-4572-B608-EF2C40FC6EA2}
150159
EndGlobalSection
151160
GlobalSection(ExtensibilityGlobals) = postSolution
152161
SolutionGuid = {5C27CF27-51F3-4DC8-8B72-1F7C6FA3D9E9}

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Email.NET
1+
# Email.Net
22

3-
[![](https://img.shields.io/github/license/YoussefSell/Email.NET)](https://github.com/YoussefSell/Email.NET/blob/master/LICENSE)
4-
[![](https://img.shields.io/nuget/v/Email.NET)](https://www.nuget.org/packages/Email.NET/)
5-
![Build](https://github.com/YoussefSell/Email.NET/actions/workflows/ci.yml/badge.svg)
3+
[![](https://img.shields.io/github/license/YoussefSell/Email.Net)](https://github.com/YoussefSell/Email.Net/blob/master/LICENSE)
4+
[![](https://img.shields.io/nuget/v/Email.Net)](https://www.nuget.org/packages/Email.Net/)
5+
![Build](https://github.com/YoussefSell/Email.Net/actions/workflows/ci.yml/badge.svg)
66

77

88
Send emails from your .Net application with a flexible solution that guarantee clean architectures, and access to different types of providers.
99

1010
## Quick setup
1111

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`.
1313

1414
## Getting started
1515

@@ -57,15 +57,15 @@ now we have a message let's try to send it.
5757

5858
### 2- EDPs [Email Delivery Provider]
5959

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.
6161

6262
we have also other EDPs that you can use, but they exist in a separate packages:
6363

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.
6969

7070
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.
7171

@@ -141,7 +141,7 @@ var result = emailService.Send(message);
141141

142142
## working with Dependency Injection
143143

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.
145145

146146
once you have the package downloaded you can register Email.Net like so:
147147

@@ -193,7 +193,7 @@ public class IndexModel : PageModel
193193

194194
here are some samples of how you can integrate Email.Net with different app types:
195195

196-
- [Console app](https://github.com/YoussefSell/Email.NET/tree/master/samples/Email.NET.Samples.Console)
197-
- [ASP Core app](https://github.com/YoussefSell/Email.NET/tree/master/samples/Email.NET.Samples.ASPCore)
196+
- [Console app](https://github.com/YoussefSell/Email.Net/tree/master/samples/Email.Net.Samples.Console)
197+
- [ASP Core app](https://github.com/YoussefSell/Email.Net/tree/master/samples/Email.Net.Samples.ASPCore)
198198

199199
for full documentation check the [Wiki](https://github.com/YoussefSell/Email.Net/wiki) page.

samples/Email.NET.Samples.ASPCore/Pages/_ViewImports.cshtml

-3
This file was deleted.

0 commit comments

Comments
 (0)