Tag: SelectedDownloadAsEML

The SelectedDownloadAsEML function automates the action of downloading selected messages in the grid as an EML file.


<SelectedDownloadAsEML/>
XML

Tag Attributes

AttributesAttribute ValueValue Description
KeepAliveTRUE / FALSEN/A
FilePathDownload target folder path, defaults to DocumentsN/A
IfFileExsistsCreateNew / Overwrite / SkipN/A
HierarchyTRUE (default) /FALSEN/A
OwnerNameTRUE (default) / FALSE
OpenFolderAfterDownloadTRUE / FALSE (default) 
Custom Naming AttributesN/ASemicolon-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>
XML

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