public interface MailgunStoreMessagesApi extends MailgunApi
This API allows you to work with stored messages.
| Modifier and Type | Method and Description |
|---|---|
static ApiVersion |
getApiVersion() |
MessageResponse |
resendMessage(String recipientEmail)
Resend email.
|
CompletableFuture<MessageResponse> |
resendMessageAsync(String recipientEmail)
Asynchronously resend email.
|
feign.Response |
resendMessageFeignResponse(String recipientEmail)
Resend message.
|
CompletableFuture<feign.Response> |
resendMessageFeignResponseAsync(String recipientEmail)
Asynchronously resend message.
|
StoreMessageResponse |
retrieveMessage()
Retrieve email(s).
|
feign.Response |
retrieveMessageFeignResponse()
Retrieve email(s).
|
static ApiVersion getApiVersion()
getApiVersion in interface MailgunApiMessageResponse resendMessage(String recipientEmail)
Resend email.
recipientEmail - Email address of the recipientMessageResponsefeign.Response resendMessageFeignResponse(String recipientEmail)
Resend message.
recipientEmail - Email address of the recipientResponseCompletableFuture<MessageResponse> resendMessageAsync(String recipientEmail)
Asynchronously resend email.
Note: Use the asynchronous Mailgun client for this method.
MailgunClient.config(PRIVATE_API_KEY)
.createAsyncApi(MailgunStoreMessagesApi.class);
recipientEmail - Email address of the recipientMessageResponseCompletableFuture<feign.Response> resendMessageFeignResponseAsync(String recipientEmail)
Asynchronously resend message.
Note: Use the asynchronous Mailgun client for this method.
MailgunClient.config(PRIVATE_API_KEY)
.createAsyncApi(MailgunStoreMessagesApi.class);
recipientEmail - Email address of the recipientResponseStoreMessageResponse retrieveMessage()
Retrieve email(s).
StoreMessageResponsefeign.Response retrieveMessageFeignResponse()
Retrieve email(s).
ResponseCopyright © 2022. All rights reserved.