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("[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.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

  • 0 downloads this month

  • 21 downloads total

Score:
0.6
Short URL:
sendgrid.dub.pm