Package | Description |
---|---|
org.thales.punch.libraries.punchlang.api |
Punch package documentation.
|
org.thales.punch.libraries.punchlang.operator |
Punch language operators.
|
Modifier and Type | Method and Description |
---|---|
static MailOperator |
Punchlet.mail()
Get a mail operator to parse mail headers and content.
|
Modifier and Type | Method and Description |
---|---|
MailOperator |
MailOperator.getAllHeaders()
Get all headers names and values in the email.
|
MailOperator |
MailOperator.getAllHeadersExcept(String... headerNames)
Get all headers names and values in the email except the ones supplied in the list.
|
MailOperator |
MailOperator.getAttachmentsWithData()
Get list of attachments with their data.
|
MailOperator |
MailOperator.getAttachmentsWithoutData()
Get list of attachments without their data.
|
MailOperator |
MailOperator.getContentSize()
Get size of the email content (headers not included).
|
MailOperator |
MailOperator.getHeader(String headerName)
Get header value if it is in the email.
|
MailOperator |
MailOperator.getHeaderAsList(String headerName)
Get header value if it is in the email.
|
MailOperator |
MailOperator.getHeaders(String... headerNames)
Get headers names and values in the email based on provided list of header names.
|
MailOperator |
MailOperator.getHtmlContent()
Get text/html content in an email object after parsing MIME content.
|
MailOperator |
MailOperator.getNbAttachments()
Get number of attachments in the email.
|
MailOperator |
MailOperator.getPlainContent()
Get text/plain content in an email object after parsing MIME content.
|
MailOperator |
MailOperator.isMultipart()
Check if email content is in multiple MIME parts.
|
MailOperator |
MailOperator.on(String email)
Make the operator work on an input String.
|
MailOperator |
MailOperator.on(Tuple input)
Make the operator work on an input Tuple.
|
Copyright © 2023. All rights reserved.