You can add a custom prefix to your mabl mailbox email addresses. While mabl supports creating multiple distinct email addresses in a single test, tagging them with a custom prefix can help you easily mark and differentiate them. (e.g. querying for results containing the chosen string in your own databases).
Here are the steps to follow:
- Create a variable - choose
mabl mailbox address
- Create another variable - choose
string template
of the formprefix+{{@email_address}}
. You can use the following separators after your prefix:
-
dash_
underscore+
plus sign
No special characters
Prefixes may consist of up to 20 lower case lower case character.s As a regex: [a-z0-9]{1,20}
Use your new variable as you would normally for a mabl mailbox address, and have your Application Under Test send email to that address.
The email will be available in the Mail section of the trainer, click the "Insert Step" plus button in the toolbar at the bottom of the screen and search for the Mailbox step type.
Note that no matter what prefix you add, all email sent to the inbox for the original generated base address.
Updated about a month ago