email/Profiles

Collection of profiles for email accounts. Created and used by the 'email' microservice.

Specific email accounts are created bound to a profile that sets common server access properties.

Storage type: category.

Table 1. Class fields
Field Description

id

Identifier.

name

Profile name.

type

Profile type:

  • imap - synchronization of incoming mail with an IMAP4 server. Reading and automatic creation of directories (email/Folders).

addressIMAP

IMAP server address for receiving mail. For example, 'imap.email.com'.

portIMAP

IMAP server port. For example, 993.

addressSMTP

SMTP server address for sending mail. For example, 'smtp.email.com'.

portSMTP

SMTP server port. For example, 465.

options

Additional options. May contain arbitrary keys and values, and the following are also supported:

  • sslIMAP - true | false. Default true. Switch for connecting to the IMAP server secure port.

  • sslSMTP - true | false. Default true. Switch for connecting to the SMTP server secure port.

  • startTlsSMTP - 0 | never | 1 | always | 2 | if_available. Default 'never'. Switch for startTls mode when connecting to the SMTP server insecure port.