我正在按照sendgrid的文档中显示的方式执行所有操作 var client = new SendGridClient(apiKey); var subject = "Sending with SendGrid is Fun";
var to =whereiwanttosendemail@mail.co
我试图使用SendGridC# SMTPAPI发送电子邮件。我遇到了一个问题,我似乎找不到任何解决办法。我的SendGridMessage头抛出和异常,然后默默地失败。' public static void SendAccountConfirmationEmail(string recipient)
//Create a Web transport, using API Key (prefe
我正试图用我已经拥有的API密钥使用SendGridAPI发送一封电子邮件。问题是:我必须在一个旧的.net应用程序中这样做,该应用程序的asp.net框架版本为3.5 (更改框架版本不是一个选项)。这是我找到的代码示例,但是我不能用我的.net 3.5Web应用程序来完成这个工作:
// using Se
最后,我按照asp.net的建议学习了asp.net教程。我也没有发现任何关于Stackoverflow的答案是有用的。我在IdentifyConfig.cs中有以下类,其中"xxxxx“被我的凭据所替代。Exceptions.InvalidApiRequestException: Bad Request Check 'Errors' for a list of errors returned by the API堆栈跟踪:[InvalidApiRequestExcep