问题
I've followed the instructions for How to Send Email Using SendGrid with Azure to set up a SendGrid account on Azure. When I use NuGet to get the SendGrid package, it's a much newer version (8.0.5 vs 6.3.4) so the sample for actually sending email is no longer valid.
So, I went over to the GitHub page and looked at the Quick Start section to see how the newer api works and I'm stuck--where in the world do I find/get my SendGrid api key? It's nowhere to be found on my Azure SendGrid account page.
The SendGrid api keys documentation page has some info on API Keys management, but it makes no sense relative to Azure.
回答1:
You have to take your username and password from the Azure portal and log in to sendgrid.com itself. From there, you should be taken to app.sendgrid.com. In the left menu, under settings, you can create API keys for your account.
来源:https://stackoverflow.com/questions/41453119/how-do-i-get-an-azure-sendgrid-api-key