Emails on backup and test servers
By default, emails are not sent in the backup and test server, but this can be enabled via a setting, which gives the option to send all emails to a specific email address for a given time period.
The setting to turn on email testing can be used in backup/test environments to verify/test emails that are sent out in workflows or through functions.
In the production environment on the contrary, emails are always sent out to the relevant contacts which is not what you want when testing a new/ altered template.
Beware: Whilst emails are never sent in the backup/test environment unless specifically enabled, emails regarding passwords will ALWAYS be sent out.
Enabling sending emails on Backup or Test
To enable the email testing settings:
Navigate to the backup or test environment. Read the Infrastructure basics (cluster and servers) article for more information on logging into these environments.
Press the ‘Client settings’ button on the starboard.
Navigate to the Email tab.
All three settings in the table below need to be filled in to enable email testing.
Name | Description |
---|---|
Testing is enabled | If set to yes, emails will be send out in the backup/test environment you are in. |
End time of testing | The end time for test mails, after this time no more emails will be sent. If no time is specified no emails will be sent. |
Recipient for testing | The single recipient that will receive all mails. Usually you use your own contact for this. |
How to use email testing
After filling in all the mandatory settings, all emails will be send out to the 'Recipient for testing'.
The email that you receive contains [AXXERION-TESTMAIL] in the title indicating that it concerns a test mail.
If you want to test a (workflow) email, simply follow the process, same as you would on production. For example, create, submit, and approve a reservation. All emails send from this workflow will end up in the email registered on the contact of the system admin you are using.