We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd3a65c commit 1b56c05Copy full SHA for 1b56c05
1 file changed
src/main/java/com/sendgrid/SendGrid.java
@@ -198,6 +198,17 @@ public Email setHtml(String html) {
198
return this;
199
}
200
201
+ public String getHtml() {
202
+ return this.html;
203
+ }
204
+
205
+ public Email dropSMTPITos() {
206
+ JSONObject oldHeader = new JSONObject(this.smtpapi.jsonString());
207
+ oldHeader.remove("to");
208
+ this.smtpapi = new SMTPAPI(oldHeader);
209
+ return this;
210
211
212
public Email addSubstitution(String key, String[] val) {
213
this.smtpapi.addSubstitutions(key, val);
214
0 commit comments