SelectedDownloadAsEML: Download Message as EML
Tag: SelectedDownloadAsEML
The SelectedDownloadAsEML function automates the action of downloading selected messages in the grid as an EML file.
<SelectedDownloadAsEML/>
Tag Attributes
Attributes | Attribute Value | Value Description |
---|---|---|
KeepAlive | TRUE / FALSE | N/A |
FilePath | Download target folder path, defaults to Documents | N/A |
IfFileExsists | CreateNew / Overwrite / Skip | N/A |
Hierarchy | TRUE (default) /FALSE | N/A |
OwnerName | TRUE (default) / FALSE | |
OpenFolderAfterDownload | TRUE / FALSE (default) | |
Custom Naming Attributes | N/A | Semicolon-separated column unique IDs |
Example Script
<LoadSession name="AllanD@M365x356371.onmicrosoft.com"/>
<ShowMyDataMail>
<Select Lines="ByValue">
<SetParam ColumnID="subject" Value="Documents attached"/>
</Select>
<SelectedDownloadAsEML/>
</ShowMyDataMail>
Example Script with Params
<LoadSession name="admin@M365x103211.onmicrosoft.com"/>
<ShowMyDataMail>
<Select Lines="ByValue">
<SetParam ColumnID="subject" Value="Documents attached"/>
</Select>
<SelectedAttachmentLoadInfo/>
<SelectedDownloadAsEML FilePath="D:\temp-exports" IfFileExists="Skip" CustomNamingAttributes"fromName;fromAddress"/>
</ShowMyDataMail>