Skip to content

Commit f3f389d

Browse files
authored
Create README.md
1 parent f0458e6 commit f3f389d

File tree

1 file changed

+23
-0
lines changed
  • src/EmailDeliveryProviders/Email.NET.AmazonSES

1 file changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
```

0 commit comments

Comments
 (0)