Update accconfirm.md (#18577)

pull/18584/head
Rick Anderson 2020-05-30 14:00:32 -10:00 committed by GitHub
parent cf7729225e
commit 2f9bb5c3c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ Run the app, select the **Register** link, and register a user. Once registered,
In this tutorial, [SendGrid](https://sendgrid.com) is used to send email. You need a SendGrid account and key to send email. You can use other email providers. We recommend you use SendGrid or another email service to send email. SMTP is difficult to secure and set up correctly.
The SendGrid account my require [adding a Sender](https://sendgrid.com/docs/ui/sending-email/senders/).
Create a class to fetch the secure email key. For this sample, create *Services/AuthMessageSenderOptions.cs*:
[!code-csharp[](accconfirm/sample/WebPWrecover30/Services/AuthMessageSenderOptions.cs?name=snippet1)]