public class SendgridWebApiV3 extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
BCC |
protected static String |
CC |
protected static String |
MAILBOX |
protected static String |
NAME |
protected static String |
PERSONALIZATIONS |
protected static String |
SUBJECT |
protected static String |
TO |
Constructor and Description |
---|
SendgridWebApiV3(String sendgridApiKey) |
SendgridWebApiV3(String sendgridApiKey,
String from,
String fromName) |
Modifier and Type | Method and Description |
---|---|
SendgridMail |
newMailFromTo(String from,
String fromName,
String recipient,
String recipientName,
String subject,
String message) |
SendgridMail |
newMailTo(String recipient,
String subject,
String message) |
protected static final String TO
protected static final String CC
protected static final String BCC
protected static final String PERSONALIZATIONS
protected static final String MAILBOX
protected static final String NAME
protected static final String SUBJECT
public SendgridWebApiV3(String sendgridApiKey) throws MalformedURLException
MalformedURLException
public SendgridWebApiV3(String sendgridApiKey, String from, String fromName) throws MalformedURLException
MalformedURLException
public SendgridMail newMailFromTo(String from, String fromName, String recipient, String recipientName, String subject, String message) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
public SendgridMail newMailTo(String recipient, String subject, String message) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
Copyright © 2018. All Rights Reserved.