| .mvn | 1 year ago | ||
| src | 11 months ago | ||
| .gitignore | 1 year ago | ||
| README.md | 1 year ago | ||
| pom.xml | 1 year ago | ||
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 }}