sendgrid 0.1.0

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("[email protected]", "John Doe"))
  .from("[email protected]")
  .subject("hello world")
  .addContent("this is a test", "text/plain")
  .send();

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

  • 0 downloads this week

  • 2 downloads this month

  • 9 downloads total

Score:
0.6
Short URL:
sendgrid.dub.pm