File tree 1 file changed +23
-0
lines changed
src/EmailDeliveryProviders/Email.NET.AmazonSES
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Email.NET.AmazonSES - Email delivery provider [ EDP]
2
+
3
+ send emails using AmazonSES.
4
+
5
+ to get started first install
6
+ - ** [ Email.Net.AmazonSES] ( https://www.nuget.org/packages/Email.Net.AmazonSES/ ) :** ` Install-Package Email.Net.AmazonSES ` .
7
+
8
+ if you're using Dependency Injection than install
9
+ - ** [ Email.Net.AmazonSES.DependencyInjection] ( https://www.nuget.org/packages/Email.Net.AmazonSES.DependencyInjection/ ) :** ` Install-Package Email.Net.AmazonSES.DependencyInjection ` .
10
+
11
+ ##### Setup
12
+ in order to use the AmazonSES EDP, you call the ` UseAmazonSES() ` method and pass the api key and server id.
13
+
14
+ ``` csharp
15
+ // register AmazonSES EDP with EmailServiceFactory
16
+ EmailServiceFactory .Instance
17
+ .UseAmazonSES ()
18
+ .Create ();
19
+
20
+ // register AmazonSES EDP with Dependency Injection
21
+ services .AddEmailNet (AmazonSESEmailDeliveryProvider .Name )
22
+ .UseAmazonSES ();
23
+ ```
You can’t perform that action at this time.
0 commit comments