Skip to main content
Skip table of contents

Message: Download 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

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

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>
JavaScript errors detected

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

If this problem persists, please contact our support.