public class SendgridMail extends Object implements de.deepamehta.core.JSONEnabled
Constructor and Description |
---|
SendgridMail(String apiKey,
String from,
String fromName) |
Modifier and Type | Method and Description |
---|---|
void |
addHTMLTextMessage(String textMessage) |
void |
addRecipient(String recipient,
String recipientName,
String type,
String subject) |
void |
send() |
org.codehaus.jettison.json.JSONObject |
toJSON() |
public void addRecipient(String recipient, String recipientName, String type, String subject) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
public void addHTMLTextMessage(String textMessage) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
public void send()
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON
in interface de.deepamehta.core.JSONEnabled
Copyright © 2018. All Rights Reserved.