Intercepted emails
ConSol CM systems can have a type which defines their purpose (see system property cmas-core-shared
, system.flavour
). Development, test and stage systems might contain real contact data for testing purposes, but the contacts should never receive any emails from such systems. Nevertheless, automated emails from the workflow need to be implemented and tested. It is possible to intercept outgoing emails from such systems before they are passed to the mail sever. The emails are not sent but saved to the database and displayed on the Intercepted emails page, where they can be downloaded as .eml
files for checking their content.
Available settings for intercepted emails
The following information is available for intercepted emails:
- Subject: The subject of the email.
- From: The email address of the sender of the email.
- To: The email address of the recipient of the email.
- Size (MB): The size of the email in MB.
- Creation date: The date when the email was saved to the database.
Basic tasks
Finding an email
The list of emails is displayed directly after accessing the Intercepted emails page of the Web Admin Suite. You can filter the list to locate an email more easily:
- Text search: Enter a text in the Search field to filter by subject, sender or recipient.
Managing intercepted emails
You can perform the following actions on intercepted emails:
- Download an email: Click the Download icon to save a copy of the email to your local file system. The email is exported in
.eml
format. You can open it with an email client or a text editor to check its content. - Delete an email: Click the Delete icon to remove the email from the database.
Advanced tasks
Finetuning intercepted emails
You can configure the following system properties for intercepted emails:
- cmas-core-shared, mailSender.testArchive.flavour*: Define for which system flavours emails are intercepted. By default, emails are intercepted for systems of the type
dev
,test
orstage
. - cmas-core-server, mailSender.testArchive.whitelist: Define the domains of the recipients to which emails are not intercepted regardless of the system type.