sendgrid 0.1.1

SendGrid API wrapper for dlang


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

sendgrid

Unofficial sendgrid API for dlang. docs

example

auto sent = new SendGrid(YOUR_API_KEY)
  .addPersonalization(new SendGridPersonalization("john@example.com", "John Doe"))
  .from("me@example.com")
  .subject("hello world")
  .addContent("this is a test", "text/plain")
  .send();

if (sent) writeln("Message sent!");
Authors:
  • Andrea Fontana
Dependencies:
jsonwrap
Versions:
0.1.1 2024-May-31
0.1.0 2023-Oct-24
~main 2024-May-31
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 22 downloads total

Score:
0.6
Short URL:
sendgrid.dub.pm