finds.dev

sendgrid/sendgrid-cobol

Official SendGrid library for Cobol

View on GitHub

★ 17Cupdated Jun 2016

// the take

A joke/novelty library from 2016 that lets COBOL programs send email via SendGrid's v2 API. It's written in C with a thin COBOL FFI wrapper. The target audience appears to be people who find 'COBOL sends email' funny, not people who need to send email from COBOL.

- The FFI approach is actually correct — writing the HTTP layer in C and calling it from COBOL is the right way to bridge the two, since COBOL has no native HTTP support

- It compiles and produces a working binary, which is more than most joke repos manage

- The demo file is self-contained and shows exactly how to wire the CALL statement

- Uses SendGrid's v2 API with username/password auth, which was deprecated and shut down years ago — this code cannot send email to anyone, period

- A precompiled `.o` file is committed to the repo, meaning you're trusting a binary blob you didn't build yourself

- No error handling — if the HTTP call fails, the program prints nothing useful and you have no idea why

- Abandoned since 2016 with 3 forks and no issues — there is no path to making this work again without a full rewrite against the v3 API

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
17
Forks
3
Language
C
Last commit
21 Jun 2016

// nearby

If sendgrid-cobol isn't quite it.

All repos →