Documentation

EmailControllerApiTest extends TestCase
in package

EmailControllerApiTest Class Doc Comment

Tags
category

Class

author

OpenAPI Generator team

link
https://openapi-generator.tech

Table of Contents

setUp()  : void
Setup before running each test case
setUpBeforeClass()  : void
Setup before running any test cases
tearDown()  : void
Clean up after running each test case
tearDownAfterClass()  : void
Clean up after running all test cases
testApplyImapFlagOperation()  : mixed
Test case for applyImapFlagOperation
testCanSend()  : mixed
Test case for canSend
testCheckEmailAudit1()  : mixed
Test case for checkEmailAudit1
testCheckEmailBody()  : mixed
Test case for checkEmailBody
testCheckEmailBodyFeatureSupport()  : mixed
Test case for checkEmailBodyFeatureSupport
testCheckEmailClientSupport()  : mixed
Test case for checkEmailClientSupport
testCreateEmailAuditForEmail()  : mixed
Test case for createEmailAuditForEmail
testCreateEmailDraft()  : mixed
Test case for createEmailDraft
testDeleteAllEmails()  : mixed
Test case for deleteAllEmails
testDeleteEmail()  : mixed
Test case for deleteEmail
testDeleteEmailDraft()  : mixed
Test case for deleteEmailDraft
testDownloadAttachment()  : mixed
Test case for downloadAttachment
testDownloadAttachmentBase64()  : mixed
Test case for downloadAttachmentBase64
testDownloadBody()  : mixed
Test case for downloadBody
testDownloadBodyBytes()  : mixed
Test case for downloadBodyBytes
testForwardEmail()  : mixed
Test case for forwardEmail
testGetAttachmentMetaData()  : mixed
Test case for getAttachmentMetaData
testGetEmail()  : mixed
Test case for getEmail
testGetEmailAttachments()  : mixed
Test case for getEmailAttachments
testGetEmailCodes()  : mixed
Test case for getEmailCodes
testGetEmailContentMatch()  : mixed
Test case for getEmailContentMatch
testGetEmailContentPart()  : mixed
Test case for getEmailContentPart
testGetEmailContentPartContent()  : mixed
Test case for getEmailContentPartContent
testGetEmailCount()  : mixed
Test case for getEmailCount
testGetEmailDraft()  : mixed
Test case for getEmailDraft
testGetEmailDrafts()  : mixed
Test case for getEmailDrafts
testGetEmailHTML()  : mixed
Test case for getEmailHTML
testGetEmailHTMLJson()  : mixed
Test case for getEmailHTMLJson
testGetEmailHTMLQuery()  : mixed
Test case for getEmailHTMLQuery
testGetEmailLinks()  : mixed
Test case for getEmailLinks
testGetEmailPreviewHTML()  : mixed
Test case for getEmailPreviewHTML
testGetEmailPreviewURLs()  : mixed
Test case for getEmailPreviewURLs
testGetEmailScreenshotAsBase64()  : mixed
Test case for getEmailScreenshotAsBase64
testGetEmailScreenshotAsBinary()  : mixed
Test case for getEmailScreenshotAsBinary
testGetEmailSignature()  : mixed
Test case for getEmailSignature
testGetEmailsOffsetPaginated()  : mixed
Test case for getEmailsOffsetPaginated
testGetEmailsPaginated()  : mixed
Test case for getEmailsPaginated
testGetEmailSummary()  : mixed
Test case for getEmailSummary
testGetEmailTextLines()  : mixed
Test case for getEmailTextLines
testGetEmailThread()  : mixed
Test case for getEmailThread
testGetEmailThreadItems()  : mixed
Test case for getEmailThreadItems
testGetEmailThreads()  : mixed
Test case for getEmailThreads
testGetGravatarUrlForEmailAddress()  : mixed
Test case for getGravatarUrlForEmailAddress
testGetLatestEmail()  : mixed
Test case for getLatestEmail
testGetLatestEmailInInbox1()  : mixed
Test case for getLatestEmailInInbox1
testGetOrganizationEmailsPaginated()  : mixed
Test case for getOrganizationEmailsPaginated
testGetRawEmailContents()  : mixed
Test case for getRawEmailContents
testGetRawEmailJson()  : mixed
Test case for getRawEmailJson
testGetUnreadEmailCount()  : mixed
Test case for getUnreadEmailCount
testMarkAllAsRead()  : mixed
Test case for markAllAsRead
testMarkAsRead()  : mixed
Test case for markAsRead
testReplyToEmail()  : mixed
Test case for replyToEmail
testSearchEmails()  : mixed
Test case for searchEmails
testSendEmailDraft()  : mixed
Test case for sendEmailDraft
testSendEmailSourceOptional()  : mixed
Test case for sendEmailSourceOptional
testSetEmailFavourited()  : mixed
Test case for setEmailFavourited
testUpdateEmailDraft()  : mixed
Test case for updateEmailDraft
testValidateEmail()  : mixed
Test case for validateEmail

Methods

setUpBeforeClass()

Setup before running any test cases

public static setUpBeforeClass() : void
Return values
void —

tearDown()

Clean up after running each test case

public tearDown() : void
Return values
void —

tearDownAfterClass()

Clean up after running all test cases

public static tearDownAfterClass() : void
Return values
void —

testApplyImapFlagOperation()

Test case for applyImapFlagOperation

public testApplyImapFlagOperation() : mixed

Set IMAP flags associated with a message. Only supports '\Seen' flag..

Return values
mixed —

testCanSend()

Test case for canSend

public testCanSend() : mixed

Check whether an email send would be accepted.

Return values
mixed —

testCheckEmailAudit1()

Test case for checkEmailAudit1

public testCheckEmailAudit1() : mixed

Run aggregate email audit for a stored email.

Return values
mixed —

testCheckEmailBody()

Test case for checkEmailBody

public testCheckEmailBody() : mixed

Check email body for broken links, images, and spelling issues.

Return values
mixed —

testCheckEmailBodyFeatureSupport()

Test case for checkEmailBodyFeatureSupport

public testCheckEmailBodyFeatureSupport() : mixed

Check client support for features used in a stored email body.

Return values
mixed —

testCheckEmailClientSupport()

Test case for checkEmailClientSupport

public testCheckEmailClientSupport() : mixed

Check email-client support for a provided HTML body.

Return values
mixed —

testCreateEmailAuditForEmail()

Test case for createEmailAuditForEmail

public testCreateEmailAuditForEmail() : mixed

Persist aggregate email audit for a stored email.

Return values
mixed —

testCreateEmailDraft()

Test case for createEmailDraft

public testCreateEmailDraft() : mixed

Create an email draft.

Return values
mixed —

testDeleteAllEmails()

Test case for deleteAllEmails

public testDeleteAllEmails() : mixed

Delete all emails in all inboxes..

Return values
mixed —

testDeleteEmail()

Test case for deleteEmail

public testDeleteEmail() : mixed

Delete an email.

Return values
mixed —

testDeleteEmailDraft()

Test case for deleteEmailDraft

public testDeleteEmailDraft() : mixed

Delete an email draft.

Return values
mixed —

testDownloadAttachment()

Test case for downloadAttachment

public testDownloadAttachment() : mixed

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..

Return values
mixed —

testDownloadAttachmentBase64()

Test case for downloadAttachmentBase64

public testDownloadAttachmentBase64() : mixed

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..

Return values
mixed —

testDownloadBody()

Test case for downloadBody

public testDownloadBody() : mixed

Get email body as string. Returned as plain/text with content type header..

Return values
mixed —

testDownloadBodyBytes()

Test case for downloadBodyBytes

public testDownloadBodyBytes() : mixed

Get email body in bytes. Returned as octet-stream with content type header..

Return values
mixed —

testForwardEmail()

Test case for forwardEmail

public testForwardEmail() : mixed

Forward email to recipients.

Return values
mixed —

testGetAttachmentMetaData()

Test case for getAttachmentMetaData

public testGetAttachmentMetaData() : mixed

Get email attachment metadata. This is the contentType and contentLength of an attachment. To get the individual attachments use the downloadAttachment methods..

Return values
mixed —

testGetEmail()

Test case for getEmail

public testGetEmail() : mixed

Get hydrated email (headers and body).

Return values
mixed —

testGetEmailAttachments()

Test case for getEmailAttachments

public testGetEmailAttachments() : mixed

List attachment metadata for an email.

Return values
mixed —

testGetEmailCodes()

Test case for getEmailCodes

public testGetEmailCodes() : mixed

Extract verification codes from an email.

Return values
mixed —

testGetEmailContentMatch()

Test case for getEmailContentMatch

public testGetEmailContentMatch() : mixed

Run regex against hydrated email body and return matches.

Return values
mixed —

testGetEmailContentPart()

Test case for getEmailContentPart

public testGetEmailContentPart() : mixed

Get email content part by content type.

Return values
mixed —

testGetEmailContentPartContent()

Test case for getEmailContentPartContent

public testGetEmailContentPartContent() : mixed

Get multipart content part as raw response.

Return values
mixed —

testGetEmailCount()

Test case for getEmailCount

public testGetEmailCount() : mixed

Get email count.

Return values
mixed —

testGetEmailDraft()

Test case for getEmailDraft

public testGetEmailDraft() : mixed

Get an email draft.

Return values
mixed —

testGetEmailDrafts()

Test case for getEmailDrafts

public testGetEmailDrafts() : mixed

List email drafts.

Return values
mixed —

testGetEmailHTML()

Test case for getEmailHTML

public testGetEmailHTML() : mixed

Get hydrated email HTML for browser rendering.

Return values
mixed —

testGetEmailHTMLJson()

Test case for getEmailHTMLJson

public testGetEmailHTMLJson() : mixed

Get hydrated email HTML wrapped in JSON.

Return values
mixed —

testGetEmailHTMLQuery()

Test case for getEmailHTMLQuery

public testGetEmailHTMLQuery() : mixed

Query hydrated HTML body and return matching text lines.

Return values
mixed —

Test case for getEmailLinks

public testGetEmailLinks() : mixed

Extract links from an email HTML body.

Return values
mixed —

testGetEmailPreviewHTML()

Test case for getEmailPreviewHTML

public testGetEmailPreviewHTML() : mixed

Get deprecated server-normalized email preview HTML.

Return values
mixed —

testGetEmailPreviewURLs()

Test case for getEmailPreviewURLs

public testGetEmailPreviewURLs() : mixed

Get email URLs for viewing in browser or downloading.

Return values
mixed —

testGetEmailScreenshotAsBase64()

Test case for getEmailScreenshotAsBase64

public testGetEmailScreenshotAsBase64() : mixed

Take a screenshot of an email in a browser and return base64 encoded string.

Return values
mixed —

testGetEmailScreenshotAsBinary()

Test case for getEmailScreenshotAsBinary

public testGetEmailScreenshotAsBinary() : mixed

Take a screenshot of an email in a browser.

Return values
mixed —

testGetEmailSignature()

Test case for getEmailSignature

public testGetEmailSignature() : mixed

Extract signature from an inbound email.

Return values
mixed —

testGetEmailsOffsetPaginated()

Test case for getEmailsOffsetPaginated

public testGetEmailsOffsetPaginated() : mixed

Get all emails in all inboxes in paginated form. Email API list all..

Return values
mixed —

testGetEmailsPaginated()

Test case for getEmailsPaginated

public testGetEmailsPaginated() : mixed

Get all emails in all inboxes in paginated form. Email API list all..

Return values
mixed —

testGetEmailSummary()

Test case for getEmailSummary

public testGetEmailSummary() : mixed

Get email summary (headers/metadata only).

Return values
mixed —

testGetEmailTextLines()

Test case for getEmailTextLines

public testGetEmailTextLines() : mixed

Extract normalized text lines from email body.

Return values
mixed —

testGetEmailThread()

Test case for getEmailThread

public testGetEmailThread() : mixed

Get email thread metadata by thread ID.

Return values
mixed —

testGetEmailThreadItems()

Test case for getEmailThreadItems

public testGetEmailThreadItems() : mixed

Get messages in a specific email thread.

Return values
mixed —

testGetEmailThreads()

Test case for getEmailThreads

public testGetEmailThreads() : mixed

List email threads in paginated form.

Return values
mixed —

testGetGravatarUrlForEmailAddress()

Test case for getGravatarUrlForEmailAddress

public testGetGravatarUrlForEmailAddress() : mixed

Get Gravatar URL for an email address.

Return values
mixed —

testGetLatestEmail()

Test case for getLatestEmail

public testGetLatestEmail() : mixed

Get latest email in all inboxes. Most recently received..

Return values
mixed —

testGetLatestEmailInInbox1()

Test case for getLatestEmailInInbox1

public testGetLatestEmailInInbox1() : mixed

Get latest email in an inbox. Use WaitForController to get emails that may not have arrived yet..

Return values
mixed —

testGetOrganizationEmailsPaginated()

Test case for getOrganizationEmailsPaginated

public testGetOrganizationEmailsPaginated() : mixed

List organization-visible emails.

Return values
mixed —

testGetRawEmailContents()

Test case for getRawEmailContents

public testGetRawEmailContents() : mixed

Get raw email string. Returns unparsed raw SMTP message with headers and body..

Return values
mixed —

testGetRawEmailJson()

Test case for getRawEmailJson

public testGetRawEmailJson() : mixed

Get raw email in JSON. Unparsed SMTP message in JSON wrapper format..

Return values
mixed —

testGetUnreadEmailCount()

Test case for getUnreadEmailCount

public testGetUnreadEmailCount() : mixed

Get unread email count.

Return values
mixed —

testMarkAllAsRead()

Test case for markAllAsRead

public testMarkAllAsRead() : mixed

Mark all emails as read or unread.

Return values
mixed —

testMarkAsRead()

Test case for markAsRead

public testMarkAsRead() : mixed

Mark an email as read or unread.

Return values
mixed —

testReplyToEmail()

Test case for replyToEmail

public testReplyToEmail() : mixed

Reply to an email.

Return values
mixed —

testSearchEmails()

Test case for searchEmails

public testSearchEmails() : mixed

Get all emails by search criteria. Return in paginated form..

Return values
mixed —

testSendEmailDraft()

Test case for sendEmailDraft

public testSendEmailDraft() : mixed

Send an email draft.

Return values
mixed —

testSendEmailSourceOptional()

Test case for sendEmailSourceOptional

public testSendEmailSourceOptional() : mixed

Send email.

Return values
mixed —

testSetEmailFavourited()

Test case for setEmailFavourited

public testSetEmailFavourited() : mixed

Set email favourited state.

Return values
mixed —

testUpdateEmailDraft()

Test case for updateEmailDraft

public testUpdateEmailDraft() : mixed

Update an email draft.

Return values
mixed —

testValidateEmail()

Test case for validateEmail

public testValidateEmail() : mixed

Validate email HTML contents.

Return values
mixed —

Search results