Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
coronabytes authored Jan 18, 2024
1 parent bca348d commit b7e6d08
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,27 @@ appsettings.json
"Tls": true
},
"SES": {
"AccessKey": "",
"SecretAccessKey": "",
"AccessKey": "***",
"SecretAccessKey": "***",
"Region": "eu-central-1"
},
"Postmark": {
"ServerToken": "***",
"MessageStream": "outbound"
},
"Mailjet": {
"ApiKey": "***"
"ApiKey": "***",
"ApiSecret": "***"
},
"SendGrid": {
"ApiKey": ""
"ApiKey": "***"
}
}
}
```

- use .NET 8 keyed services to have multiple configurations of the same provider
- appsettings is matched with "Email:{key}"
```csharp
serviceCollection.AddCoreEmail();
serviceCollection.AddSmtpProvider("SMTP");
Expand Down

0 comments on commit b7e6d08

Please sign in to comment.