Package | Description |
---|---|
com.mailslurp.apis | |
com.mailslurp.models |
Modifier and Type | Method and Description |
---|---|
Email |
EmailControllerApi.getEmail(UUID emailId,
Boolean decode)
Get email content including headers and body.
|
Email |
EmailControllerApi.getLatestEmail(List<UUID> inboxIds)
Get latest email in all inboxes.
|
Email |
InboxControllerApi.getLatestEmailInInbox(UUID inboxId,
Long timeoutMillis)
Get latest email in an inbox.
|
Email |
EmailControllerApi.getLatestEmailInInbox1(UUID inboxId)
Get latest email in an inbox.
|
Email |
WaitForControllerApi.waitForLatestEmail(UUID inboxId,
Long timeout,
Boolean unreadOnly,
OffsetDateTime before,
OffsetDateTime since,
String sort,
Long delay)
Fetch inbox's latest email or if empty wait for an email to arrive
Will return either the last received email or wait for an email to arrive and return that.
|
Email |
WaitForControllerApi.waitForMatchingFirstEmail(UUID inboxId,
MatchOptions matchOptions,
Long timeout,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before,
String sort,
Long delay)
Wait for or return the first email that matches provided MatchOptions array
Perform a search of emails in an inbox with the given patterns.
|
Email |
WaitForControllerApi.waitForNthEmail(UUID inboxId,
Integer index,
Long timeout,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before,
String sort,
Long delay)
Wait for or fetch the email with a given index in the inbox specified.
|
Modifier and Type | Method and Description |
---|---|
ApiResponse<Email> |
EmailControllerApi.getEmailWithHttpInfo(UUID emailId,
Boolean decode)
Get email content including headers and body.
|
ApiResponse<Email> |
EmailControllerApi.getLatestEmailInInbox1WithHttpInfo(UUID inboxId)
Get latest email in an inbox.
|
ApiResponse<Email> |
InboxControllerApi.getLatestEmailInInboxWithHttpInfo(UUID inboxId,
Long timeoutMillis)
Get latest email in an inbox.
|
ApiResponse<Email> |
EmailControllerApi.getLatestEmailWithHttpInfo(List<UUID> inboxIds)
Get latest email in all inboxes.
|
ApiResponse<Email> |
WaitForControllerApi.waitForLatestEmailWithHttpInfo(UUID inboxId,
Long timeout,
Boolean unreadOnly,
OffsetDateTime before,
OffsetDateTime since,
String sort,
Long delay)
Fetch inbox's latest email or if empty wait for an email to arrive
Will return either the last received email or wait for an email to arrive and return that.
|
ApiResponse<Email> |
WaitForControllerApi.waitForMatchingFirstEmailWithHttpInfo(UUID inboxId,
MatchOptions matchOptions,
Long timeout,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before,
String sort,
Long delay)
Wait for or return the first email that matches provided MatchOptions array
Perform a search of emails in an inbox with the given patterns.
|
ApiResponse<Email> |
WaitForControllerApi.waitForNthEmailWithHttpInfo(UUID inboxId,
Integer index,
Long timeout,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before,
String sort,
Long delay)
Wait for or fetch the email with a given index in the inbox specified.
|
Modifier and Type | Method and Description |
---|---|
okhttp3.Call |
EmailControllerApi.getEmailAsync(UUID emailId,
Boolean decode,
ApiCallback<Email> _callback)
Get email content including headers and body.
|
okhttp3.Call |
EmailControllerApi.getLatestEmailAsync(List<UUID> inboxIds,
ApiCallback<Email> _callback)
Get latest email in all inboxes.
|
okhttp3.Call |
EmailControllerApi.getLatestEmailInInbox1Async(UUID inboxId,
ApiCallback<Email> _callback)
Get latest email in an inbox.
|
okhttp3.Call |
InboxControllerApi.getLatestEmailInInboxAsync(UUID inboxId,
Long timeoutMillis,
ApiCallback<Email> _callback)
Get latest email in an inbox.
|
okhttp3.Call |
WaitForControllerApi.waitForLatestEmailAsync(UUID inboxId,
Long timeout,
Boolean unreadOnly,
OffsetDateTime before,
OffsetDateTime since,
String sort,
Long delay,
ApiCallback<Email> _callback)
Fetch inbox's latest email or if empty wait for an email to arrive (asynchronously)
Will return either the last received email or wait for an email to arrive and return that.
|
okhttp3.Call |
WaitForControllerApi.waitForMatchingFirstEmailAsync(UUID inboxId,
MatchOptions matchOptions,
Long timeout,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before,
String sort,
Long delay,
ApiCallback<Email> _callback)
Wait for or return the first email that matches provided MatchOptions array (asynchronously)
Perform a search of emails in an inbox with the given patterns.
|
okhttp3.Call |
WaitForControllerApi.waitForNthEmailAsync(UUID inboxId,
Integer index,
Long timeout,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before,
String sort,
Long delay,
ApiCallback<Email> _callback)
Wait for or fetch the email with a given index in the inbox specified.
|
Modifier and Type | Method and Description |
---|---|
Email |
Email.addAttachmentsItem(String attachmentsItem) |
Email |
Email.addBccItem(String bccItem) |
Email |
Email.addCcItem(String ccItem) |
Email |
Email.addToItem(String toItem) |
Email |
Email.analysis(EmailAnalysis analysis) |
Email |
Email.attachments(List<String> attachments) |
Email |
Email.bcc(List<String> bcc) |
Email |
Email.body(String body) |
Email |
Email.bodyExcerpt(String bodyExcerpt) |
Email |
Email.bodyMD5Hash(String bodyMD5Hash) |
Email |
Email.cc(List<String> cc) |
Email |
Email.charset(String charset) |
Email |
Email.createdAt(OffsetDateTime createdAt) |
Email |
Email.domainId(UUID domainId) |
Email |
Email.from(String from) |
static Email |
Email.fromJson(String jsonString)
Create an instance of Email given an JSON string
|
Email |
Email.headers(Map<String,String> headers) |
Email |
Email.headersMap(Map<String,List<String>> headersMap) |
Email |
Email.html(Boolean html) |
Email |
Email.id(UUID id) |
Email |
Email.inboxId(UUID inboxId) |
Email |
Email.isHTML(Boolean isHTML) |
Email |
Email.putHeadersItem(String key,
String headersItem) |
Email |
Email.putHeadersMapItem(String key,
List<String> headersMapItem) |
Email |
Email.read(Boolean read) |
Email |
Email.recipients(EmailRecipients recipients) |
Email |
Email.replyTo(String replyTo) |
Email |
Email.sender(Sender sender) |
Email |
Email.subject(String subject) |
Email |
Email.teamAccess(Boolean teamAccess) |
Email |
Email.to(List<String> to) |
Email |
Email.updatedAt(OffsetDateTime updatedAt) |
Email |
Email.userId(UUID userId) |
Copyright © 2023. All rights reserved.