-
public final class EmailControllerApi extends ApiClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEmailControllerApi.Companion
-
Constructor Summary
Constructors Constructor Description EmailControllerApi(String xApiKey, String basePath)
-
Method Summary
Modifier and Type Method Description final StringgetBaseUrl()final UnitdeleteAllEmails()Delete all emails in all inboxes. final RequestConfigdeleteAllEmailsRequestConfig()To obtain the request config of the operation deleteAllEmails final UnitdeleteEmail(UUID emailId)Delete an email Deletes an email and removes it from the inbox. final RequestConfigdeleteEmailRequestConfig(UUID emailId)To obtain the request config of the operation deleteEmail final ByteArraydownloadAttachment(UUID emailId, String attachmentId, String apiKey)Get email attachment bytes. final RequestConfigdownloadAttachmentRequestConfig(UUID emailId, String attachmentId, String apiKey)To obtain the request config of the operation downloadAttachment final DownloadAttachmentDtodownloadAttachmentBase64(UUID emailId, String attachmentId)Get email attachment as base64 encoded string as an alternative to binary responses. final RequestConfigdownloadAttachmentBase64RequestConfig(UUID emailId, String attachmentId)To obtain the request config of the operation downloadAttachmentBase64 final StringdownloadBody(UUID emailId)Get email body as string. final RequestConfigdownloadBodyRequestConfig(UUID emailId)To obtain the request config of the operation downloadBody final ByteArraydownloadBodyBytes(UUID emailId)Get email body in bytes. final RequestConfigdownloadBodyBytesRequestConfig(UUID emailId)To obtain the request config of the operation downloadBodyBytes final SentEmailDtoforwardEmail(UUID emailId, ForwardEmailOptions forwardEmailOptions)Forward email to recipients Forward an existing email to new recipients. final RequestConfigforwardEmailRequestConfig(UUID emailId, ForwardEmailOptions forwardEmailOptions)To obtain the request config of the operation forwardEmail final AttachmentMetaDatagetAttachmentMetaData(UUID emailId, String attachmentId)Get email attachment metadata. final RequestConfiggetAttachmentMetaDataRequestConfig(UUID emailId, String attachmentId)To obtain the request config of the operation getAttachmentMetaData final List<AttachmentMetaData>getAttachments(UUID emailId)Get all email attachment metadata. final RequestConfiggetAttachmentsRequestConfig(UUID emailId)To obtain the request config of the operation getAttachments final EmailgetEmail(UUID emailId, Boolean decode)Get email content including headers and body. final RequestConfiggetEmailRequestConfig(UUID emailId, Boolean decode)To obtain the request config of the operation getEmail final EmailContentMatchResultgetEmailContentMatch(UUID emailId, ContentMatchOptions contentMatchOptions)Get email content regex pattern match results. final RequestConfiggetEmailContentMatchRequestConfig(UUID emailId, ContentMatchOptions contentMatchOptions)To obtain the request config of the operation getEmailContentMatch final CountDtogetEmailCount()Get email count final RequestConfiggetEmailCountRequestConfig()To obtain the request config of the operation getEmailCount final StringgetEmailHTML(UUID emailId, Boolean decode)Get email content as HTML. final RequestConfiggetEmailHTMLRequestConfig(UUID emailId, Boolean decode)To obtain the request config of the operation getEmailHTML final EmailTextLinesResultgetEmailHTMLQuery(UUID emailId, String htmlSelector)Parse and return text from an email, stripping HTML and decoding encoded characters Parse an email body and return the content as an array of text. final RequestConfiggetEmailHTMLQueryRequestConfig(UUID emailId, String htmlSelector)To obtain the request config of the operation getEmailHTMLQuery final EmailLinksResultgetEmailLinks(UUID emailId)Parse and return list of links found in an email (only works for HTML content) HTML parsing uses JSoup and UNIX line separators. final RequestConfiggetEmailLinksRequestConfig(UUID emailId)To obtain the request config of the operation getEmailLinks final EmailTextLinesResultgetEmailTextLines(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator)Parse and return text from an email, stripping HTML and decoding encoded characters Parse an email body and return the content as an array of strings. final RequestConfiggetEmailTextLinesRequestConfig(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator)To obtain the request config of the operation getEmailTextLines final PageEmailProjectiongetEmailsPaginated(List<UUID> inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before)Get all emails in all inboxes in paginated form. final RequestConfiggetEmailsPaginatedRequestConfig(List<UUID> inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation getEmailsPaginated final GravatarUrlgetGravatarUrlForEmailAddress(String emailAddress, String size)Get gravatar url for email address final RequestConfiggetGravatarUrlForEmailAddressRequestConfig(String emailAddress, String size)To obtain the request config of the operation getGravatarUrlForEmailAddress final EmailgetLatestEmail(Set<UUID> inboxIds)Get latest email in all inboxes. final RequestConfiggetLatestEmailRequestConfig(Set<UUID> inboxIds)To obtain the request config of the operation getLatestEmail final EmailgetLatestEmailInInbox(UUID inboxId)Get latest email in an inbox. final RequestConfiggetLatestEmailInInboxRequestConfig(UUID inboxId)To obtain the request config of the operation getLatestEmailInInbox final PageEmailProjectiongetOrganizationEmailsPaginated(List<UUID> inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before)Get all organization emails. final RequestConfiggetOrganizationEmailsPaginatedRequestConfig(List<UUID> inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation getOrganizationEmailsPaginated final StringgetRawEmailContents(UUID emailId)Get raw email string. final RequestConfiggetRawEmailContentsRequestConfig(UUID emailId)To obtain the request config of the operation getRawEmailContents final RawEmailJsongetRawEmailJson(UUID emailId)Get raw email in JSON. final RequestConfiggetRawEmailJsonRequestConfig(UUID emailId)To obtain the request config of the operation getRawEmailJson final UnreadCountgetUnreadEmailCount()Get unread email count Get number of emails unread. final RequestConfiggetUnreadEmailCountRequestConfig()To obtain the request config of the operation getUnreadEmailCount final EmailPreviewmarkAsRead(UUID emailId, Boolean read)Mark an email as read on unread Marks an email as read or unread. final RequestConfigmarkAsReadRequestConfig(UUID emailId, Boolean read)To obtain the request config of the operation markAsRead final SentEmailDtoreplyToEmail(UUID emailId, ReplyToEmailOptions replyToEmailOptions)Reply to an email Send the reply to the email sender or reply-to and include same subject cc bcc etc. final RequestConfigreplyToEmailRequestConfig(UUID emailId, ReplyToEmailOptions replyToEmailOptions)To obtain the request config of the operation replyToEmail final UnitsendEmailSourceOptional(UUID inboxId, SendEmailOptions sendEmailOptions, Boolean useDomainPool)Send email Alias for `InboxController.sendEmail` method - see original method for full details. final RequestConfigsendEmailSourceOptionalRequestConfig(UUID inboxId, SendEmailOptions sendEmailOptions, Boolean useDomainPool)To obtain the request config of the operation sendEmailSourceOptional final ValidationDtovalidateEmail(UUID emailId)Validate email HTML contents Validate the HTML content of email if HTML is found. final RequestConfigvalidateEmailRequestConfig(UUID emailId)To obtain the request config of the operation validateEmail -
-
Method Detail
-
getBaseUrl
final String getBaseUrl()
-
deleteAllEmails
final Unit deleteAllEmails()
Delete all emails in all inboxes. Deletes all emails in your account. Be careful as emails cannot be recovered
-
deleteAllEmailsRequestConfig
final RequestConfig deleteAllEmailsRequestConfig()
To obtain the request config of the operation deleteAllEmails
-
deleteEmail
final Unit deleteEmail(UUID emailId)
Delete an email Deletes an email and removes it from the inbox. Deleted emails cannot be recovered.
- Parameters:
emailId- ID of email to delete
-
deleteEmailRequestConfig
final RequestConfig deleteEmailRequestConfig(UUID emailId)
To obtain the request config of the operation deleteEmail
- Parameters:
emailId- ID of email to delete
-
downloadAttachment
final ByteArray downloadAttachment(UUID emailId, String attachmentId, String apiKey)
Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream.
- Parameters:
emailId- ID of emailattachmentId- ID of attachmentapiKey- Can pass apiKey in url for this request if you wish to download the file in a browser.
-
downloadAttachmentRequestConfig
final RequestConfig downloadAttachmentRequestConfig(UUID emailId, String attachmentId, String apiKey)
To obtain the request config of the operation downloadAttachment
- Parameters:
emailId- ID of emailattachmentId- ID of attachmentapiKey- Can pass apiKey in url for this request if you wish to download the file in a browser.
-
downloadAttachmentBase64
final DownloadAttachmentDto downloadAttachmentBase64(UUID emailId, String attachmentId)
Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses.
- Parameters:
emailId- ID of emailattachmentId- ID of attachment
-
downloadAttachmentBase64RequestConfig
final RequestConfig downloadAttachmentBase64RequestConfig(UUID emailId, String attachmentId)
To obtain the request config of the operation downloadAttachmentBase64
- Parameters:
emailId- ID of emailattachmentId- ID of attachment
-
downloadBody
final String downloadBody(UUID emailId)
Get email body as string. Returned as `plain/text` with content type header. Returns the specified email body for a given email as a string
- Parameters:
emailId- ID of email
-
downloadBodyRequestConfig
final RequestConfig downloadBodyRequestConfig(UUID emailId)
To obtain the request config of the operation downloadBody
- Parameters:
emailId- ID of email
-
downloadBodyBytes
final ByteArray downloadBodyBytes(UUID emailId)
Get email body in bytes. Returned as `octet-stream` with content type header. Returns the specified email body for a given email as a stream / array of bytes.
- Parameters:
emailId- ID of email
-
downloadBodyBytesRequestConfig
final RequestConfig downloadBodyBytesRequestConfig(UUID emailId)
To obtain the request config of the operation downloadBodyBytes
- Parameters:
emailId- ID of email
-
forwardEmail
final SentEmailDto forwardEmail(UUID emailId, ForwardEmailOptions forwardEmailOptions)
Forward email to recipients Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints.
- Parameters:
emailId- ID of email
-
forwardEmailRequestConfig
final RequestConfig forwardEmailRequestConfig(UUID emailId, ForwardEmailOptions forwardEmailOptions)
To obtain the request config of the operation forwardEmail
- Parameters:
emailId- ID of email
-
getAttachmentMetaData
final AttachmentMetaData getAttachmentMetaData(UUID emailId, String attachmentId)
Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. Returns the metadata such as name and content-type for a given attachment and email.
- Parameters:
emailId- ID of emailattachmentId- ID of attachment
-
getAttachmentMetaDataRequestConfig
final RequestConfig getAttachmentMetaDataRequestConfig(UUID emailId, String attachmentId)
To obtain the request config of the operation getAttachmentMetaData
- Parameters:
emailId- ID of emailattachmentId- ID of attachment
-
getAttachments
final List<AttachmentMetaData> getAttachments(UUID emailId)
Get all email attachment metadata. Metadata includes name and size of attachments. Returns an array of attachment metadata such as name and content-type for a given email if present.
- Parameters:
emailId- ID of email
-
getAttachmentsRequestConfig
final RequestConfig getAttachmentsRequestConfig(UUID emailId)
To obtain the request config of the operation getAttachments
- Parameters:
emailId- ID of email
-
getEmail
final Email getEmail(UUID emailId, Boolean decode)
Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints
- Parameters:
decode- Decode email body quoted-printable encoding to plain text.
-
getEmailRequestConfig
final RequestConfig getEmailRequestConfig(UUID emailId, Boolean decode)
To obtain the request config of the operation getEmail
- Parameters:
decode- Decode email body quoted-printable encoding to plain text.
-
getEmailContentMatch
final EmailContentMatchResult getEmailContentMatch(UUID emailId, ContentMatchOptions contentMatchOptions)
Get email content regex pattern match results. Runs regex against email body and returns match groups. Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `'code is: 123456', '123456'` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns.
- Parameters:
emailId- ID of email to match against
-
getEmailContentMatchRequestConfig
final RequestConfig getEmailContentMatchRequestConfig(UUID emailId, ContentMatchOptions contentMatchOptions)
To obtain the request config of the operation getEmailContentMatch
- Parameters:
emailId- ID of email to match against
-
getEmailCount
final CountDto getEmailCount()
Get email count
-
getEmailCountRequestConfig
final RequestConfig getEmailCountRequestConfig()
To obtain the request config of the operation getEmailCount
-
getEmailHTML
final String getEmailHTML(UUID emailId, Boolean decode)
Get email content as HTML. For displaying emails in browser context. Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`
- Parameters:
decode- (optional, default to false)
-
getEmailHTMLRequestConfig
final RequestConfig getEmailHTMLRequestConfig(UUID emailId, Boolean decode)
To obtain the request config of the operation getEmailHTML
- Parameters:
decode- (optional, default to false)
-
getEmailHTMLQuery
final EmailTextLinesResult getEmailHTMLQuery(UUID emailId, String htmlSelector)
Parse and return text from an email, stripping HTML and decoding encoded characters Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors
- Parameters:
emailId- ID of email to perform HTML query onhtmlSelector- HTML selector to search for.
-
getEmailHTMLQueryRequestConfig
final RequestConfig getEmailHTMLQueryRequestConfig(UUID emailId, String htmlSelector)
To obtain the request config of the operation getEmailHTMLQuery
- Parameters:
emailId- ID of email to perform HTML query onhtmlSelector- HTML selector to search for.
-
getEmailLinks
final EmailLinksResult getEmailLinks(UUID emailId)
Parse and return list of links found in an email (only works for HTML content) HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes
- Parameters:
emailId- ID of email to fetch text for
-
getEmailLinksRequestConfig
final RequestConfig getEmailLinksRequestConfig(UUID emailId)
To obtain the request config of the operation getEmailLinks
- Parameters:
emailId- ID of email to fetch text for
-
getEmailTextLines
final EmailTextLinesResult getEmailTextLines(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator)
Parse and return text from an email, stripping HTML and decoding encoded characters Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators.
- Parameters:
emailId- ID of email to fetch text fordecodeHtmlEntities- Decode HTML entities (optional)lineSeparator- Line separator character (optional)
-
getEmailTextLinesRequestConfig
final RequestConfig getEmailTextLinesRequestConfig(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator)
To obtain the request config of the operation getEmailTextLines
- Parameters:
emailId- ID of email to fetch text fordecodeHtmlEntities- Decode HTML entities (optional)lineSeparator- Line separator character (optional)
-
getEmailsPaginated
final PageEmailProjection getEmailsPaginated(List<UUID> inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before)
Get all emails in all inboxes in paginated form. Email API list all. By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
- Parameters:
inboxId- Optional inbox ids to filter by.page- Optional page index in email list pagination (optional, default to 0)size- Optional page size in email list pagination.sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)unreadOnly- Optional filter for unread emails only.searchFilter- Optional search filter.since- Optional filter emails received after given date time (optional)before- Optional filter emails received before given date time (optional)
-
getEmailsPaginatedRequestConfig
final RequestConfig getEmailsPaginatedRequestConfig(List<UUID> inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation getEmailsPaginated
- Parameters:
inboxId- Optional inbox ids to filter by.page- Optional page index in email list pagination (optional, default to 0)size- Optional page size in email list pagination.sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)unreadOnly- Optional filter for unread emails only.searchFilter- Optional search filter.since- Optional filter emails received after given date time (optional)before- Optional filter emails received before given date time (optional)
-
getGravatarUrlForEmailAddress
final GravatarUrl getGravatarUrlForEmailAddress(String emailAddress, String size)
Get gravatar url for email address
- Parameters:
size- (optional)
-
getGravatarUrlForEmailAddressRequestConfig
final RequestConfig getGravatarUrlForEmailAddressRequestConfig(String emailAddress, String size)
To obtain the request config of the operation getGravatarUrlForEmailAddress
- Parameters:
size- (optional)
-
getLatestEmail
final Email getLatestEmail(Set<UUID> inboxIds)
Get latest email in all inboxes. Most recently received. Get the newest email in all inboxes or in a passed set of inbox IDs
- Parameters:
inboxIds- Optional set of inboxes to filter by.
-
getLatestEmailRequestConfig
final RequestConfig getLatestEmailRequestConfig(Set<UUID> inboxIds)
To obtain the request config of the operation getLatestEmail
- Parameters:
inboxIds- Optional set of inboxes to filter by.
-
getLatestEmailInInbox
final Email getLatestEmailInInbox(UUID inboxId)
Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. Get the newest email in all inboxes or in a passed set of inbox IDs
- Parameters:
inboxId- ID of the inbox you want to get the latest email from
-
getLatestEmailInInboxRequestConfig
final RequestConfig getLatestEmailInInboxRequestConfig(UUID inboxId)
To obtain the request config of the operation getLatestEmailInInbox
- Parameters:
inboxId- ID of the inbox you want to get the latest email from
-
getOrganizationEmailsPaginated
final PageEmailProjection getOrganizationEmailsPaginated(List<UUID> inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before)
Get all organization emails. List team or shared test email accounts By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
- Parameters:
inboxId- Optional inbox ids to filter by.page- Optional page index in email list pagination (optional, default to 0)size- Optional page size in email list pagination.sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)unreadOnly- Optional filter for unread emails only.searchFilter- Optional search filter search filter for emails.since- Optional filter emails received after given date time (optional)before- Optional filter emails received before given date time (optional)
-
getOrganizationEmailsPaginatedRequestConfig
final RequestConfig getOrganizationEmailsPaginatedRequestConfig(List<UUID> inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation getOrganizationEmailsPaginated
- Parameters:
inboxId- Optional inbox ids to filter by.page- Optional page index in email list pagination (optional, default to 0)size- Optional page size in email list pagination.sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)unreadOnly- Optional filter for unread emails only.searchFilter- Optional search filter search filter for emails.since- Optional filter emails received after given date time (optional)before- Optional filter emails received before given date time (optional)
-
getRawEmailContents
final String getRawEmailContents(UUID emailId)
Get raw email string. Returns unparsed raw SMTP message with headers and body. Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint
- Parameters:
emailId- ID of email
-
getRawEmailContentsRequestConfig
final RequestConfig getRawEmailContentsRequestConfig(UUID emailId)
To obtain the request config of the operation getRawEmailContents
- Parameters:
emailId- ID of email
-
getRawEmailJson
final RawEmailJson getRawEmailJson(UUID emailId)
Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response
- Parameters:
emailId- ID of email
-
getRawEmailJsonRequestConfig
final RequestConfig getRawEmailJsonRequestConfig(UUID emailId)
To obtain the request config of the operation getRawEmailJson
- Parameters:
emailId- ID of email
-
getUnreadEmailCount
final UnreadCount getUnreadEmailCount()
Get unread email count Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response
-
getUnreadEmailCountRequestConfig
final RequestConfig getUnreadEmailCountRequestConfig()
To obtain the request config of the operation getUnreadEmailCount
-
markAsRead
final EmailPreview markAsRead(UUID emailId, Boolean read)
Mark an email as read on unread Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread
- Parameters:
read- What value to assign to email read property.
-
markAsReadRequestConfig
final RequestConfig markAsReadRequestConfig(UUID emailId, Boolean read)
To obtain the request config of the operation markAsRead
- Parameters:
read- What value to assign to email read property.
-
replyToEmail
final SentEmailDto replyToEmail(UUID emailId, ReplyToEmailOptions replyToEmailOptions)
Reply to an email Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`.
- Parameters:
emailId- ID of the email that should be replied to
-
replyToEmailRequestConfig
final RequestConfig replyToEmailRequestConfig(UUID emailId, ReplyToEmailOptions replyToEmailOptions)
To obtain the request config of the operation replyToEmail
- Parameters:
emailId- ID of the email that should be replied to
-
sendEmailSourceOptional
final Unit sendEmailSourceOptional(UUID inboxId, SendEmailOptions sendEmailOptions, Boolean useDomainPool)
Send email Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email.
- Parameters:
inboxId- ID of the inbox you want to send the email fromuseDomainPool- Use domain pool.
-
sendEmailSourceOptionalRequestConfig
final RequestConfig sendEmailSourceOptionalRequestConfig(UUID inboxId, SendEmailOptions sendEmailOptions, Boolean useDomainPool)
To obtain the request config of the operation sendEmailSourceOptional
- Parameters:
inboxId- ID of the inbox you want to send the email fromuseDomainPool- Use domain pool.
-
validateEmail
final ValidationDto validateEmail(UUID emailId)
Validate email HTML contents Validate the HTML content of email if HTML is found. Considered valid if no HTML is present.
- Parameters:
emailId- ID of email
-
validateEmailRequestConfig
final RequestConfig validateEmailRequestConfig(UUID emailId)
To obtain the request config of the operation validateEmail
- Parameters:
emailId- ID of email
-
-
-
-