Skip to content

Commit 9c03b6b

Browse files
Updated documentation
1 parent e27981d commit 9c03b6b

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,8 @@ Additionally you must specify the needed configuration elements within your AppS
4848
```
4949
"SendGridServiceOptions": {
5050
"AdminEmail": "[email protected]",
51-
"Server": "test.smtp.com",
52-
"Port": 527,
53-
"UseSsl": true,
54-
"SenderUsername": "MySender",
55-
"SenderPassword": "Password",
51+
"SendGridApiKey": "YourKey",
52+
"AdditionalApiKeys": { "SpecialSender": "SpecialKey" }
5653
"AlwaysTemplateEmails": true,
5754
"AddEnvironmentSuffix": true
5855
},
@@ -66,11 +63,8 @@ Additionally you must specify the needed configuration elements within your AppS
6663
| Setting | Description |
6764
| --- | --- |
6865
| AdminEmail | This is the email address used as the "from" address and also for any usage of the "SendToAdministrator" option |
69-
| Server | The SMTP Server address to use |
70-
| Port | The Port to use for outbound emails |
71-
| UseSsl | Should SSL be used for emails |
72-
| SenderUsername | The username that should be used to connect to SMTP |
73-
| SenderPassword | The password that should be used to connect to SMTP |
66+
| SendGridApiKey | The API Key to use for default sending of email addresses |
67+
| AdditionalApiKeys | These are name/value pairs of additional API keys that could be used for sending emails. Totally optional |
7468
| AlwaysTemplateEmails | If selected ALL emails sent will be templated, by default using the "DefaultTemplate" as configured |
7569
| AddEnvironmentSuffix | If selected, all outbound emails sent from non-production addresses will have the environment name added to the end of the subject |
7670
| DefaultTemplatePath | The path, relative to the application root, where the default HTML template can be found for emails |

0 commit comments

Comments
 (0)