My Data: Show Mail
Tag: SelectedMyDataMail
The SelectedMyDataMail function automates the action of loading and showing mail message data of the signed-in user.
<ShowMyDataMail/>
XML
Tag Attributes
Attributes | Attribute Value | Value Description | Comment |
---|---|---|---|
KeepAlive | True/False (Defaults to True) | N/A | N/A |
The following attributes also apply to "User: Show Messages"
Attributes | Attribute Values | Value Description | Comment |
---|---|---|---|
CutOff | N/A | Empty, "lastHour", "lastDay", "lastWeek", "lastMonth" or a date in iso8601 format | N/A |
Emails | True/False (Defaults to False) | Retrieves emails | N/A |
Chats | True/False (Defaults to False) | Retrieves Private Teams Chats | N/A |
BodyPreview | True/False (Defaults to False) | Retrieves Body Previews | N/A |
FullBody | True/False (Defaults to False) | Retrieves Full Body Contents | N/A |
MailHeaders | True/False (Defaults to False) | Retrieves Mail Headers | N/A |
Filter | N/A | Pre-filter string (As seen in Filter editor Result -- see below) | N/A |
If attribute "Emails" and "Chats" are both missing or not TRUE, "Emails" will be set to TRUE (at least one of them is mandatory)
If attribute "CutOff" is missing, the Option dialog will be shown. None of the above other attribute allowed.
If attribute "CutOff" is empty, all messages are retrieved without time limit.
"CutOff" values:
- "lastHour" : retrieve only object created in the last hour
- "lastDay" : retrieve only object created in the last day
- "lastWeek" : retrieve only object created in the last week
- "lastMonth" : retrieve only object created in the last month
- iso8601 date
NOTE | If one one the 6 other attributes (Emails, Chats, BodyPreview, FullBody, MailHeaders or Filter) is used, cutoff is mandatory. |
---|
Example Script
<ShowMyDataMail/> <!-- Show dialog -->
<ShowMyDataMail cutoff=""/> <!-- Retrieve all messages -->
<ShowMyDataMail cutoff="lastWeek" Emails="TRUE" Chats="TRUE" BodyPreview="TRUE"/>
<ShowMyDataMail cutoff="2019-08-14" FullBody="TRUE" MailHeaders="TRUE"/>
XML