簡體   English   中英

如何將現有的 sendgrid 帳戶鏈接到 Azure

[英]How to link existing sendgrid account to Azure

我剛剛將我的應用程序遷移到 Azure。 現在我的應用程序具有使用 Sendgrid 發送電子郵件的發送電子郵件功能。 但現在我想將此帳戶鏈接到 Azure,因為我認為我需要將此(現有 Sendgrid 帳戶)鏈接到我的 Azure Sendgrid 帳戶。 但是我該怎么做呢? 在 Azure Sendgrid 中,它只允許我創建一個 Sendgrid 帳戶,但沒有添加現有 Sendgrid 帳戶的選項。 我該怎么做呢? 順便說一句,我想這樣做的原因是因為我收到了Unable to read data from the transport connection: net_io_connectionclosed.的錯誤Unable to read data from the transport connection: net_io_connectionclosed. 所以我猜這是一個權限問題,因為我沒有將我現有的 sendgrid 鏈接到我的 azure sendgrid 帳戶。 我該怎么做呢?

這個頁面解釋得很好。 如何在 Azure 中使用 SendGrid 發送電子郵件

https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-to-send-email

我們在 azure 函數中使用現有的 sendgrid 帳戶並使用函數綁定。 不需要鏈接,現有帳戶也提供APIKEY,這就是所需要的。 例子在這里。

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-sendgrid?tabs=csharp

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM