Tag: SelectedAttachmentDownload 

The SelectedAttachmentDownload function downloads the attached files of all selected items to your computer.


<SelectedAttachmentDownload/>
XML

w/Params:

<SelectedAttachmentDownload FilePath="D:\temp-exports" IfFileExists="Skip"/>
XML

Tag Attributes

AttributesAttribute ValueValue DescriptionComment
KeepAliveTRUE/FALSEN/AN/A
FilePathDownload target folder path, default to documentsN/AN/A
IfFileExistsCreateNew / Overwrite / SkipN/AN/A
HierarchyTRUE/FALSEN/AN/A
OwnerNameTRUE/FALSEN/AN/A

Detailed Description

Messages:

download-attachments-1


Events & Posts:

download-attachments-2

Example Script

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

Example Script w/Param

<LoadSession name="admin@M365x103211.onmicrosoft.com"/>
	<ShowMyDataMail>
		<Select Lines="ByValue">
			<SetParam ColumnID="subject" Value="Documents attached"/>
		</Select>
		<SelectedAttachmentLoadInfo/>
		<SelectedAttachmentDownload FilePath="D:\temp-exports" IfFileExists="Skip"/>
	</ShowMyDataMail>
XML