// the find
sendgrid/sendgrid-cobol
Official SendGrid library for Cobol
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