public class SendEmailApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SendEmailApi.APIsendEmailRequest |
| Constructor and Description |
|---|
SendEmailApi() |
SendEmailApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
EmailReportsResult |
getEmailDeliveryReports(String bulkId,
String messageId,
Integer limit)
Email delivery reports.
|
okhttp3.Call |
getEmailDeliveryReportsAsync(String bulkId,
String messageId,
Integer limit,
ApiCallback<EmailReportsResult> _callback)
Email delivery reports (asynchronously).
|
okhttp3.Call |
getEmailDeliveryReportsCall(String bulkId,
String messageId,
Integer limit,
ApiCallback _callback)
Build call for getEmailDeliveryReports.
|
ApiResponse<EmailReportsResult> |
getEmailDeliveryReportsWithHttpInfo(String bulkId,
String messageId,
Integer limit)
Email delivery reports.
|
EmailLogsResponse |
getEmailLogs(List<String> messageId,
String from,
String to,
String bulkId,
String generalStatus,
OffsetDateTime sentSince,
OffsetDateTime sentUntil,
Integer limit)
Get email logs.
|
okhttp3.Call |
getEmailLogsAsync(List<String> messageId,
String from,
String to,
String bulkId,
String generalStatus,
OffsetDateTime sentSince,
OffsetDateTime sentUntil,
Integer limit,
ApiCallback<EmailLogsResponse> _callback)
Get email logs (asynchronously).
|
okhttp3.Call |
getEmailLogsCall(List<String> messageId,
String from,
String to,
String bulkId,
String generalStatus,
OffsetDateTime sentSince,
OffsetDateTime sentUntil,
Integer limit,
ApiCallback _callback)
Build call for getEmailLogs.
|
ApiResponse<EmailLogsResponse> |
getEmailLogsWithHttpInfo(List<String> messageId,
String from,
String to,
String bulkId,
String generalStatus,
OffsetDateTime sentSince,
OffsetDateTime sentUntil,
Integer limit)
Get email logs.
|
SendEmailApi.APIsendEmailRequest |
sendEmail(String from,
String to,
String subject)
Send fully featured email.
|
void |
setApiClient(ApiClient apiClient) |
public SendEmailApi()
public SendEmailApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getEmailDeliveryReportsCall(String bulkId, String messageId, Integer limit, ApiCallback _callback) throws ApiException
bulkId - Bulk ID for which report is requested. (optional)messageId - The ID that uniquely identifies the sent email. (optional)limit - Maximum number of reports. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic EmailReportsResult getEmailDeliveryReports(String bulkId, String messageId, Integer limit) throws ApiException
bulkId - Bulk ID for which report is requested. (optional)messageId - The ID that uniquely identifies the sent email. (optional)limit - Maximum number of reports. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<EmailReportsResult> getEmailDeliveryReportsWithHttpInfo(String bulkId, String messageId, Integer limit) throws ApiException
bulkId - Bulk ID for which report is requested. (optional)messageId - The ID that uniquely identifies the sent email. (optional)limit - Maximum number of reports. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getEmailDeliveryReportsAsync(String bulkId, String messageId, Integer limit, ApiCallback<EmailReportsResult> _callback) throws ApiException
bulkId - Bulk ID for which report is requested. (optional)messageId - The ID that uniquely identifies the sent email. (optional)limit - Maximum number of reports. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getEmailLogsCall(List<String> messageId, String from, String to, String bulkId, String generalStatus, OffsetDateTime sentSince, OffsetDateTime sentUntil, Integer limit, ApiCallback _callback) throws ApiException
messageId - The ID that uniquely identifies the sent email. (optional)from - (optional, default to )to - (optional, default to )bulkId - (optional, default to )generalStatus - (optional, default to )sentSince - (optional)sentUntil - (optional)limit - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic EmailLogsResponse getEmailLogs(List<String> messageId, String from, String to, String bulkId, String generalStatus, OffsetDateTime sentSince, OffsetDateTime sentUntil, Integer limit) throws ApiException
messageId - The ID that uniquely identifies the sent email. (optional)from - (optional, default to )to - (optional, default to )bulkId - (optional, default to )generalStatus - (optional, default to )sentSince - (optional)sentUntil - (optional)limit - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<EmailLogsResponse> getEmailLogsWithHttpInfo(List<String> messageId, String from, String to, String bulkId, String generalStatus, OffsetDateTime sentSince, OffsetDateTime sentUntil, Integer limit) throws ApiException
messageId - The ID that uniquely identifies the sent email. (optional)from - (optional, default to )to - (optional, default to )bulkId - (optional, default to )generalStatus - (optional, default to )sentSince - (optional)sentUntil - (optional)limit - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getEmailLogsAsync(List<String> messageId, String from, String to, String bulkId, String generalStatus, OffsetDateTime sentSince, OffsetDateTime sentUntil, Integer limit, ApiCallback<EmailLogsResponse> _callback) throws ApiException
messageId - The ID that uniquely identifies the sent email. (optional)from - (optional, default to )to - (optional, default to )bulkId - (optional, default to )generalStatus - (optional, default to )sentSince - (optional)sentUntil - (optional)limit - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic SendEmailApi.APIsendEmailRequest sendEmail(String from, String to, String subject)
from - Email address with optional sender name. (required)to - Email address of the recipient. (required)subject - Message subject. (required)Copyright © 2022. All rights reserved.