Read from File Activity
The Read from File activity enables the processing of .msg email files. It extracts content from a specified .msg file and organizes it into a new dataset for further automation. This activity is crucial for handling email archives or specific email data within RPA workflows.
| Field | Description | Requirement |
|---|---|---|
| File Name | Specifies the full path and name of the .msg file to be read. | Required |
| Path | Defines the directory where any extracted email attachments or related files will be saved. | Optional |
| New Dataset Name | Provides a reference name for the dataset that will be created to store the email's content. | Required |
Action Types & Examples
Output Dataset
- Format:
Dataset containing email properties and content - Example Result:
newDs
Implementation Examples
Field Setup - File Name: D:robustafilesmyMail.msg - Path: D:robustafiles - New Dataset Name: newDs
Execution Parameters - File Name: D:robustafilesmyMail.msg - Path: D:robustafiles - New Dataset Name: newDs
Technical Notes
The Read from File activity is specifically designed to process files with the
.msgextension. Attempting to read files of other formats may result in an error. Ensure the specified 'File Name' path is accessible and the file exists to prevent 'File Not Found' exceptions. The created dataset (New Dataset Name) will contain structured data representing the email's subject, sender, recipient, body, and any attachments.