https://github.com/trikko/sendgrid
Unofficial sendgrid API for dlang
https://github.com/trikko/sendgrid
api d dlang sendgrid
Last synced: 4 months ago
JSON representation
Unofficial sendgrid API for dlang
- Host: GitHub
- URL: https://github.com/trikko/sendgrid
- Owner: trikko
- Created: 2023-10-24T10:52:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T13:29:19.000Z (about 2 years ago)
- Last Synced: 2025-05-31T21:49:53.528Z (about 1 year ago)
- Topics: api, d, dlang, sendgrid
- Language: D
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sendgrid
Unofficial sendgrid API for dlang. [docs](https://trikko.github.io/sendgrid)
# example
```d
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!");
```