OutlookEX UDF - Folder Item

From AutoIt Wiki
Revision as of 11:44, 20 August 2016 by Water (talk | contribs) (Created page with "Category:OutlookEX_UDF Here you find detailed information about how to work with Folder items. === Access folder === Lets assume you are logged in as user "John Doe" wit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here you find detailed information about how to work with Folder items.

Access folder

Lets assume you are logged in as user "John Doe" with the following information:

Recipient John Doe
Mailbox address John.Doe@company.com
Inbox-Subfolder Archive
Shared folder public@company.com
Inbox-Subfolder Archive

This is how you would access your mailbox:

Global $aFolder = _OL_FolderAccess($oOutlook, "John.Doe@company.com") Inbox
Global $aFolder = _OL_FolderAccess($oOutlook, "*") Inbox
Global $aFolder = _OL_FolderAccess($oOutlook, "", $olFolderInbox) Inbox
Global $aFolder = _OL_FolderAccess($oOutlook, "\\John Doe", $olFolderInbox) Inbox
Global $aFolder = _OL_FolderAccess($oOutlook, "\\John Doe\Archive", $olFolderInbox) Inbox, Subfolder "Archive"
Global $aFolder = _OL_FolderAccess($oOutlook, "John.Doe@company.com\Archive") Inbox, Subfolder "Archive"

This is how you would access your contacts:

Global $aFolder = _OL_FolderAccess($oOutlook, "John.Doe@company.com\Contacts") Contacts
Global $aFolder = _OL_FolderAccess($oOutlook, "*\Contacts") Contacts
Global $aFolder = _OL_FolderAccess($oOutlook, "", $olFolderContacts) Contacts
Global $aFolder = _OL_FolderAccess($oOutlook, "\\John Doe\Contacts", $olFolderContacts) Contacts
Global $aFolder = _OL_FolderAccess($oOutlook, "\\John Doe\", $olFolderContacts) Contacts

This is how you would access the shared folder:

Global $aFolder = _OL_FolderAccess($oOutlook, "public@company.com") Inbox
Global $aFolder = _OL_FolderAccess($oOutlook, "public@company.com\Archive") Inbox, Subfolder "Archive"