Newer
Older
sendgrid-api / README.md
@Alex Ljunggren Alex Ljunggren on 8 Nov 2025 392 bytes Added readme

Sendgrid API

https://www.twilio.com/docs/sendgrid

Instantiate

SendgridApi api = new SendgridApi(apiKey);

Send Email

api.sendEmail(from, to, subject, body);

Send Template Email

api.sendTemplateEmail(templateId, from, to, templateData);

Note: Template Data is a HashMap that maps to email {{ variable }}