SelectedDownloadAsEML: Download Message as EML

Tag: SelectedDownloadAsEML

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


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


http://www2.ytria.com/Dev/YtriaAut.nsf/83ad0ba5a6acd8498525848500812fba/491e41494f8028b3852584a10073ad16/Body/0.7BA?OpenElement&FieldElemFormat=gif

Example Script

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

Example Script with Params

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