Email Accounts
An email account is the set of options that are responsible for configuring email handling. It can be a preconfigured account with three delivery protocols for using email clients: POP3, IMAP, and SMTP.
POP3 is a standard email connection protocol that helps the email to download emails to the local computer. By default, POP3 uses port 110 or port 995 for a secure connection.
IMAP is another application layer protocol for email communication. Unlike POP3, it stores emails on an email server and downloads them each time a user views them. This protocol requires an active internet connection. IMAP uses ports 143 and 993 (SSL/TLS) by default.
SMTP is a simple protocol that is used to send emails. It establishes a connection with the recipient's server and sends the email, otherwise the server returns a message with an error report to the sender. The SMTP protocol uses port 25 by default, or 465 if the connection is secure. The port can be changed, as some internet providers block it. In this case, you can use the alternate port 587 or ask your network administrator for help.
Do not use the POP3 protocol for high-volume mailboxes. Use the IMAP protocol instead.
Use the simple.email.smtp.active property to enable or disable email sending from the account.
To set it up, complete the following steps:
- Navigate to System Properties → All Properties.
- Find the simple.email.smtp.active property and open it.
- In the Value field, enter true to enable email sending, or false to disable it.
- Click Save or Save and exit to apply the changes.
Role required: admin.
The email account configuration includes the following steps:
Create an account
It is recommended to configure email accounts within the Simple application because it has the email properties. Setting up email is easier if necessary properties and email accounts are in the same application.
To create an email account, complete the following steps:
- Navigate to System Mailboxes → Email Accounts.
- Click New and fill in the fields.
- Click Save or Save and exit to apply the changes.
Email Account form fields
Field | Mandatory | Description |
---|---|---|
Name | Y | Specify an account name. |
Type | Y | Define the account type based on a specific protocol. Available options:
|
From | Y | Specify the sender's address to be displayed in the From field of the message. This field appears when the SMTP option is selected in the Type field. |
Server | Y | Specify the hostname of the server used to process emails. |
Login | Y | Specify the login of the server user. |
Password | Y | Specify the password of the server user. |
Email user label | N | Specify a descriptive user label. |
Active | N | Select this checkbox to activate the account. |
Enable debug | N | Select this checkbox to identify the issues in the record logs when configuring email settings. |
Port | Y | Specify the port that the server runs on. |
Enable SSL | N | Select this checkbox to enable SSL encryption. |
Enable TSL | N | Select this checkbox to enable TLS encryption. |
Disable certificate validation | N | Select this checkbox to connect to the email server without checking the certificate. Disabling the validation is helpful when a self-signed certificate is used. Disabling validation will only work if at least one of the Enable SSL or Enable TLS checkboxes is selected. The behavior will be fixed in one of the future releases. |
The simple.email.test.user property allows you to specify a test email address for debugging email. Once configured, all emails sent from the instance are forwarded to this address.
To set it up, complete the following steps:
- Navigate to System Properties → All Properties.
- Find the simple.email.test.user property record and open it.
- In the Value field, enter the email address you need.
- Click Save or Save and exit to apply the changes.
Test a connection
After you have finished configuring the email account, test the connection. To do so, complete the following steps:
- Select the Enable debug checkbox and click Save.
- Click the Test connection link at the bottom of the form.
- If the connection is established, make the created account the default one.
In Main Log (sys_log), track the operation processing:
- Navigate to System Logs → Main Log.
- Apply this filter:
Source
isEmail Logger
. - Open a record if necessary.
If the connection fails, a warning message appears:
In this case, check logs to find the error cause. To do so, navigate to System Logs → Main Log and make a log selection based on the criteria below:
- Source = Email Logger
AND - Level = Error
Use the condition builder to build an appropriate filter. An example of the error record is given below:
Supported security protocols
The system supports the following protocols: SSL up to 3.0 and TLS up to 1.2.
The STARTTLS protocol is not supported.
Configure default settings
To start using the created email account, set your email account as the default one with the default.email.account.send property. The system inserts it automatically into every incoming and outgoing email.
To do so, complete the following steps:
- Navigate to System Mailboxes → Email Accounts.
- Open the record you need.
- In the address bar, find the email account ID and copy it to the clipboard.
- Navigate to System Properties → All Properties.
- Find the default.email.account.send property record and open it.
- In the Value field, paste the email account ID from the clipboard.
- Click Save or Save and exit to apply the changes.