From 0faa17916beda80869b143454a1bee2b4534842b Mon Sep 17 00:00:00 2001 From: mptap Date: Fri, 27 Oct 2017 16:25:20 -0700 Subject: [PATCH] Added TROUBLESHOOTING.md --- TROUBLESHOOTING.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 TROUBLESHOOTING.md diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md new file mode 100644 index 0000000..308f8d9 --- /dev/null +++ b/TROUBLESHOOTING.md @@ -0,0 +1,18 @@ +If you have a non-library SendGrid issue, please contact our [support team](https://support.sendgrid.com). + +If you can't find a solution below, please open an [issue](https://github.com/sendgrid/smtpapi-java/issues). + +## Table of Contents + +* [Viewing the Request Body](#request-body) + + +## Viewing the Request Body + +When debugging or testing, it may be useful to examine the raw request body to compare against the [documented format](https://sendgrid.com/docs/API_Reference/api_v3.html). + +You can do this right before you call `request.setBody(mail.build())` like so: + +```java +System.out.println(mail.build()); +```