SendGrid API 抛出异常

SendGrid API throws exception

如何从控制台应用程序使用 sendgrid API 发送邮件?。我已经提到了这个 link https://azure.microsoft.com/en-in/documentation/articles/sendgrid-dotnet-how-to-send-email/#create-a-sendgrid-account。 它抛出

"api access for mail not allowed"

我的 sendgrid 帐户没有 "Mail" 访问权限,所以只有它显示该异常。现在从管理员帐户访问,一切正常。

谢谢, 拉希尼