public class ClassicEmail extends CreateSendBase
jerseyClient, URL_ENCODING_SCHEME| Constructor and Description |
|---|
ClassicEmail(AuthenticationDetails auth) |
| Modifier and Type | Method and Description |
|---|---|
ClassicEmailGroup[] |
list()
List groups.
|
ClassicEmailGroup[] |
list(String clientID)
List ClassicEmailGroup for a specific Client.
|
void |
send(ClassicEmailRequest classicEmailRequest)
Send a ClassicEmail.
|
MessageSent[] |
send(ClassicEmailRequest classicEmailRequest,
String clientID)
Send a ClassicEmail.
|
refreshTokenpublic ClassicEmail(AuthenticationDetails auth)
auth - The authentication details to use when making API calls.
May be either an OAuthAuthenticationDetails or
ApiKeyAuthenticationDetails instance.public ClassicEmailGroup[] list() throws CreateSendException
CreateSendExceptionpublic ClassicEmailGroup[] list(String clientID) throws CreateSendException
clientID - The ClientID to filter.CreateSendExceptionpublic void send(ClassicEmailRequest classicEmailRequest) throws CreateSendException
classicEmailRequest - The ClassicEmailRequest to send.CreateSendExceptionpublic MessageSent[] send(ClassicEmailRequest classicEmailRequest, String clientID) throws CreateSendException
classicEmailRequest - The ClassicEmailRequest to send.clientID - The ClientID to filter.CreateSendExceptionCopyright © 2019. All rights reserved.