Role required: admin. |
Email account is the set of options that is responsible for the configuration of email processing. It can be a pre-configured account with the SMTP protocol (for sending emails), POP3 protocol (for receiving emails), and IMAP protocol (for receiving emails).
Use the simple.email.smtp.active property to enable or disable email sending from the account.
To set it up, complete the steps below:
The email account configuration includes the following steps:
It is recommended to configure email accounts within the Simple application due to the fact that Email Properties are located in this application. The email tuning will become easier if necessary properties and email accounts share the same application. |
To create an email account, complete the following steps:
Email Account form fields
Field | Mandatory | Description | |
---|---|---|---|
Name | Y | Specify the displayed account name. | |
Type | Y | Define the account type, based on a specific protocol. Available options:
| |
From | Y | Sender address to be displayed in the From field of the message.
| |
Server | Y | Specify the hostname of the server used for the mail processing. | |
Login | Y | Server user login. | |
Password | Y | Server user password. | |
Email user label | N | Descriptive user label. | |
Active | N | Select this checkbox to activate the account. | |
Enable debug | N | Select this checkbox to have more extended logs. This will help to indicate issues while configuring email settings. | |
Port | Y | Specify the port that the server will be running on. | |
Enable SSL | N | Select this checkbox to enable SSL encryption. | |
Enable TLS | N | Select this checkbox to enable TLS encryption. | |
Disable certificate validation | N | Select this checkbox to allow connecting to the email server without checking the certificate. Disable Certificate Validation is unselected by default.
|
The simple.email.test.user property allows specifying a test email address for email debugging. After set up, all mail sent from the instance will be redirected to this address.
To set it up, complete the steps below:
When you finish configuring the email account.
To test the connection, please follow these steps:
In the Log (sys_log) table, you can track the operation processing:
Main Log form fields
Field | Mandatory | Description |
---|---|---|
Source | Y | The source from where the message was produced (IMAP Authorization, SMTP Authorization, Incoming mail, and others). |
Level | Y | Message category:
|
Message | N | The message containing information about the |
Username | N | The name of a user who created the log or the system if it was created automatically. |
Created by | Y | Information about who has created the record. |
Created at | Y | This field stores information about the date and time of record creation. |
In our example, we set up an IMAP email account. In the screenshot below:
If connection fails, a warning message appears:
In this case, check logs to find the error cause. To perform this, navigate to System Logs → Main Log and make a log selection based on the criteria below:
Use Condition Builder to build an appropriate filter. An example of the error record is given below:
To start using the created email account, set your email accounts as default ones. The system will insert them automatically into every letter, incoming or outgoing.
To do this, complete the following steps:
Find the email account ID in the address bar (it is a long number sequence), and copy it to the clipboard.
/