SelectedExportEML: Export Message as EML

Tag: SelectedExportEML

The SelectedExportEML function automates the action of exporting EML selected in the Message grid.


XML
<SelectedExportEML/>

Tag Attributes

Attributes

Attribute Value

KeepAlive

TRUE / FALSE

FilePath

Download target folder path, defaults to Documents

IfFileExsists

CreateNew / Overwrite / Skip

Hierarchy

 TRUE / FALSE


download-attachments-1

Example Script

XML
<LoadSession name="AllanD@M365x356371.onmicrosoft.com"/>
<ShowMyDataMail>
	<Select Lines="ByValue">
		<SetParam ColumnID="subject" Value="Documents attached"/>
	</Select>
	<SelectedExportEML/>
</ShowMyDataMail>

Example Script with Params

XML
<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>