Skip to main content
Skip table of contents

Export EML

Tag: SelectedExportEML

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


XML
<SelectedExportEML/>

Tag Attributes

AttributesAttribute Value
KeepAliveTRUE / FALSE
FilePathDownload target folder path, defaults to Documents
IfFileExsistsCreateNew / 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>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.