Help Centre › Building Processes
This article describes the RPA Outlook functionality to get e-mail headers.
For a full list of available functions, please read OUTLOOK functions.
Description
The OUTLOOK Get e-mail headers function allows you to extract the MAPI e-mail headers from the currently selected e-mail. Returns a dictionary of header name-value pairs (e.g. Message-ID, X-Mailer, Return-Path).
Setting it up
To use the OUTLOOK Get e-mail headers function, follow these instructions:
{{popups:rpas/add:action=outlook-get-headers}}
Once on a process map:
- Navigate to the process where you would like to add the OUTLOOK Get e-mail headers function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the OUTLOOK Get e-mail headers option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Variable | Yes | Text | - | Variable to store the headers dictionary |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | Dictionary of header name-value pairs |
Errors
| Error | Description |
|---|---|
| Outlook not open | Outlook is not running |
| No e-mail selected | No e-mail is currently selected |
Tips
- Useful for inspecting e-mail routing, authentication results, and spam headers
- Access individual headers using {variable.Message-ID} syntax