This helper allows you to quickly and easily build a Mail object for sending email through Twilio SendGrid.
Run the example (make sure you have set your environment variable to include your SENDGRID_API_KEY).
cd examples/mail
javac -classpath ../../build/libs/sendgrid-4.2.1-jar.jar:. Example.java && java -classpath ../examples/jackson-core-2.9.9.jar:../../build/libs/sendgrid-4.1.0-jar.jar:. Example
- See the example for a complete working example.
- Documentation