MailbridgeMailserver
This page provides generated reference documentation for the MailbridgeMailserver data model.
Enthält die Einstellungen des Mailservers für die Mailbridge. Dieses Datenmodell ist Teil des ServerConfigDataModels.
Overview
| Property | Summary |
|---|---|
| attachmentHandling | Determines how to process mails with attachments. |
| bridgeMode | One of three modes: |
| bridgeName | The name can be set freely and is used to identify the mailbridge. It is recommended to use a name that describes which mailserver is used. |
| enabled | If true, this mailbridge will run. |
| errorProcess | You can choose a process from your project, which gets executed when an error occurs while processing an email. I.e. an email with attachment, which are too… |
| flagMode | This determines which emails are loaded by the mailbridge. |
| intervall | The time intervall, in milliseconds, for the regular runs of the mailbridge. |
| maxMailSize | Overrides the mailGlobalMaxSizeRecieve property. |
| process | You can choose a process from your project, which gets executed when the mailbridge processes mails in mode Process or Both. You can use three special… |
| receivingFilter | With these, filters you can add some extra processing to the mailbridge. Possible values are: |
| serverName | The alias name of one of your mailservers. The mailbridge will access the chosen mailserver. |
| timeout | Time interval, in milliseconds, after which the mailbridge stops trying to read from a mailbox. |
| user | The login of an ADITO user, who has their e-mail configurations set. The mailbridge will use the configured credentials of this user to authenticate at the… |
attachmentHandling
Type: String
Determines how to process mails with attachments.
ALL: Reads all attachments, should the email together with its attachments exceed the file size set in themailGlobalMaxSizeRecieveproperty or in the maximum size column of the mailbridge config, the email is not processed and an error gets thrown.THRESHOLD: Reads the email and all attachments, whose file size is below what’s set in themailGlobalMaxSizeRecieveproperty or in the maximum size column of the mailbridge config. Every attachment that’s bigger gets returned as an empty file.NONE: Only reads the email, attachments are replaced with empty files.
bridgeMode
Type: Integer
One of three modes:
0/PROCESS: only the mailbridge process is executed, the email is not copied to the mail repository.1/COPY: the email is copied to the mail repository, no further processing is done.2/BOTH: the actions ofPROCESSandCOPYare combined. The email gets copied into the mail repository and is then processed by the mailbridge process
bridgeName
Type: String
The name can be set freely and is used to identify the mailbridge. It is recommended to use a name that describes which mailserver is used.
enabled
Type: Boolean
If true, this mailbridge will run.
errorProcess
Type: String
You can choose a process from your project, which gets executed when an error occurs while processing an email. I.e. an email with attachment, which are too big. The following $local. variables are provided in this process:
$local.error: Contains the ADITO error code$local.error: Contains the id of the error$local.errormessage: Contains the complete error message$local.mailid: Contains the id of the email. This can be used to process the mail separately.
flagMode
Type: Integer
This determines which emails are loaded by the mailbridge.
0/New: Only fetches newly received emails, this does not include older unread emails1/Read: Only fetches emails that were read by a user2/Unread: Fetches all unread emails3/All: Fetches all emails in the specified inbox of the mailbridge user
intervall
Type: Long
The time intervall, in milliseconds, for the regular runs of the mailbridge.
maxMailSize
Type: Long
Overrides the mailGlobalMaxSizeRecieve property.
With this a mailbridge may handle bigger files or be restricted to smaller files than specified in the global property.
process
Type: String
You can choose a process from your project, which gets executed when the mailbridge processes mails in mode Process or Both. You can use three special $local. variables in this process:
$local.mail: Contains the complete mail as an object$local.recipients: Contains all recipient email addresses$local.sender: Contains the sender email address
Parameters
$local.mail
The mail object
$local.recipients
The recipient
$local.sender
The sender
receivingFilter
Type: String
With these, filters you can add some extra processing to the mailbridge. Possible values are:
CRLF: Replaces are line breaks with " ". This can be used to ensure correct processing, if emails are read that were created by Linux or macOS users, as these operating system either only use (Linux) or (macOS).Extractattachment: Expects all incoming emails to only have one attachment and then uses the attachment to create the mail object.Extractattachment2: Expects all incoming emails to only have one attachment that’s encoded in MIME typeMessage/rfc822. The mailbridge will extract the attachment and form the mail object based on the attachment.log: Writes the email to the log.printtext: Writes the email to the console logger.
serverName
Type: String
The alias name of one of your mailservers. The mailbridge will access the chosen mailserver.
timeout
Type: Long
Time interval, in milliseconds, after which the mailbridge stops trying to read from a mailbox.
user
Type: String
The login of an ADITO user, who has their e-mail configurations set. The mailbridge will use the configured credentials of this user to authenticate at the mailserver.