Skip to content

Deadlock #237

Closed
Closed
@walmon

Description

@walmon

Issue Summary

ASP.NET Web API 4.5.2 Application, sending email added c# libraries paste this code

Steps to Reproduce

  1. Install dlls from nuget Install-Package SendGrid

  2. added example code

    String apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User);
    dynamic sg = new SendGridAPIClient(apiKey);

          Email from = new Email("test@example.com");
          String subject = "Hello World from the SendGrid CSharp Library";
          Email to = new Email("test@example.com");
          Content content = new Content("text/plain", "Textual content");
          Mail mail = new Mail(from, subject, to, content);
    
          dynamic response = sg.client.mail.send.post(requestBody: mail.Get());
    

then this never gets a response, sometimes deliver messages

Technical details:

  • sendgrid-csharp Version: master (latest commit: [commit number])
  • .NET Version: 4.5.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions