SelectedExportEML: Export Message as EML
Tag: SelectedExportEML
The SelectedExportEML function automates the action of exporting EML selected in the Message grid.
<SelectedExportEML/>
Tag Attributes
| Attributes | Attribute Value |
|---|---|
| KeepAlive | TRUE / FALSE |
| FilePath | Download target folder path, defaults to Documents |
| IfFileExsists | CreateNew / Overwrite / Skip |
| Hierarchy | TRUE / FALSE |

Example Script
<LoadSession name="AllanD@M365x356371.onmicrosoft.com"/>
<ShowMyDataMail>
<Select Lines="ByValue">
<SetParam ColumnID="subject" Value="Documents attached"/>
</Select>
<SelectedExportEML/>
</ShowMyDataMail>
Example Script with Params
<LoadSession name="admin@M365x103211.onmicrosoft.com"/>
<ShowMyDataMail>
<Select Lines="ByValue">
<SetParam ColumnID="subject" Value="Documents attached"/>
</Select>
<SelectedAttachmentLoadInfo/>
<SelectedExportEMLFilePath="D:\temp-exports" IfFileExists="Skip"/>
</ShowMyDataMail>