POP/SMTP
The adapter sends and receives email messages using Simple Mails Transfer Protocol (SMTP) or Post Office Protocol v3 (POP3).
The adapter supports file attachments and MIME type specifications for the email body, e.g. for sending HTML emails. Moreover, the sending and receiving of S/MIME encrypted and/or signed email messages is supported.
Properties
I/O mode (input_type) | Type of source of data to be processed Possible values:
|
File name (documentname) | Name of the file attachment to be sent (if If you want to parameterize this property dynamically, use its technical name in the corresponding XSL mapping. The technical name may differ from the displayed name. Beispiel
XML
Possible values:
|
Delete (delete) | Delete email message after successful receipt from the POP3 server (if |
Operation (action) | Determines which operation will be executed on the processed files. Depending on the value in Possible values:
|
Parameters
from | Email address of the email sender. If required, with the specification of a display name. Possible values: Any valid email address (e.g., |
sender | Technical sender agent (if different from oarameter Possible values: Any valid email address (e.g., |
to | The email address(es) to which the email is to be sent. If required, with the specification of a display name. Possible values: Any valid email address, separated by a semicolon if there are multiple addresses (for example, |
cc | Email address(s) to which the email is to be sent as a carbon copy. If required, with the specification of a display name. Possible values: Any valid email address, separated by a semicolon if there are multiple addresses (for example, |
bcc | Email address(s) to which the email is to be sent as a blind carbon copy. If required, with the specification of a display name. Possible values: Any valid email address, separated by a semicolon if there are multiple addresses (for example, |
replyTo | The email address to which you want to send a reply Possible values: Any valid email address (e.g. |
subject | Subject of the email |
body | Content of the email (if the input data of the adapter is an HTML document, it will be used as an HTML message body) Possible values: Any string |
mimeTypeBody | MIME type of email body (allows to display HTML emails or multiple attachments) Possible values: Valid MIME types (e.g. |
charset | The character set of the email content to be used Possible values: Valid character set specification (e.g. |
smtp | The IP address or host name of the SMTP server used to send emails Possible values: Any valid string (e.g. |
smtpPort | Port of the SMTP server for sending emails Possible values: Any positive integer (e.g., 250) |
smtpSecurityProtocol | SMTP security protocol to be used Possible values:
|
smtpAllowAllHosts | Allow all hosts for SMTP Please note that hosts without a valid certificate will also be allowed.
|
pop3 | IP address or host name of the POP3 server for receiving emails Possible values: Any valid string (e.g. |
pop3Port | Port of the POP3 server for receiving emails Possible values: Any positive integer |
pop3SecurityProtocol | POP3 security protocol to be used Possible values:
|
pop3AllowAllHosts | Allow all hosts for POP3 Please note that hosts without a valid certificate will also be allowed.
|
login | Password for the POP3 server (when receiving an email) or for the SMTP server (when sending an email) Possible values: Any valid string (e.g. name@domain.tld) |
password | Password for the POP3 server (when receiving an email) or for the SMTP server (when sending an email) |
oAuth2 | Specifies whether to use the OAuth 2.0 protocol for login. Possible values:
If OAuth 2.0 is to be used,
|
oAuth2_twoLineAuth | Enables the POP3 protocol for Microsoft 365.
Must be enabled in addition to
OAuth2 to use the POP3 protocol with Microsoft 365.
Possible values:
|
file_limit | Limit the number of file attachments to be sent (if Possible values:
|
dir | Local folder on the X4 server, for example, in the X4 repository, where files are to be sent as attachments via email (if Possible values: Any valid string (e.g. %USER_COLLECTION%\Folder) |
filter | Filter file attachments to be sent by file name using the wildcards * and ? Possible values:
|
EML | Send a message in EML format (this requires an EML message as an adapter input) or receive a message in EML format Possible values:
|
base64 | Always encode messages attachments (multipart parts) using Base64 (if the Possible values:
|
encrypt | Encrypt the message with S/MIME (Multipart/Encrypted) Possible values:
|
sign | Sign the message with S/MIME (Multipart/Signed) Possible values:
|
Pkcs12 | Path to a valid key/certificate file in the PKCS#12 format Possible values: Any valid path in the local file system of the X4 Servers (e.g. |
passphrase | Password/passphrase to the key/certificate in PKCS#12 format that you specified in the Possible values: Any valid string |
propertiesType | Data format for a properties file which can be used to define additional JavaMail properties Possible values:
|
propertiesUrl | Deprecated parameter As of version 6.2.0 of the X4 BPMS, the security protocol to be used can be set using the When using the now deprecated parameter URL to a properties file in which further JavaMail properties can be stored, see https://javamail.java.net/nonav/docs/api/com/sun/mail/smtp/package-summary.html. The linked file must be in the format specified in the
Possible values: Any valid URL, e.g. |
For formally valid email addresses, refer to RFC 5321 and RFC 5322.