Example of a Receive Script
Back to Creating Receive Scripts...
A simple case study to produce an e-mail script is explained in more detail:
We assume that you want to forward all e-mails that contain the text "professional" to the professional hotline in a mailbox. The jobs should have a target time for completion of 5 minutes. All other jobs are supposed to have a target time of 30 minutes.
The resulting script may look like this:
if (coretext.contains("Profi") {
helper.routeToGroupByName("Profi-Hotline");
helper.setSecondsForScheduledEndDate(60*5);
} else {
helper.setSecondsForScheduledEndDate(60*30);
}
helper.routeToGroupByName("Profi-Hotline");
helper.setSecondsForScheduledEndDate(60*5);
} else {
helper.setSecondsForScheduledEndDate(60*30);
}
There are nearly no limits within the possibilities of configurating an e-mail receipt , so you can:
- Forward e-mails depending on the language recognized
- Forward e-mails to groups depending on the time of day
- Forward e-mails to groups using keywords and asking the groups to edit them
- Read attachments to e-mails such as PDF's automatically and transfer the values to todo forms
- Block certain e-mail addresses or change the description of the todo jobs