Client
in package
Base class of the Exchange Web Services application.
Tags
Table of Contents
Constants
- VERSION_2007 = 'Exchange2007'
- Microsoft Exchange 2007
- VERSION_2007_SP1 = 'Exchange2007_SP1'
- Microsoft Exchange 2007 SP1
- VERSION_2009 = 'Exchange2009'
- Microsoft Exchange 2007 SP2
- VERSION_2010 = 'Exchange2010'
- Microsoft Exchange 2010
- VERSION_2010_SP1 = 'Exchange2010_SP1'
- Microsoft Exchange 2010 SP1
- VERSION_2010_SP2 = 'Exchange2010_SP2'
- Microsoft Exchange 2010 SP2
- VERSION_2013 = 'Exchange2013'
- Microsoft Exchange 2013.
- VERSION_2013_SP1 = 'Exchange2013_SP1'
- Microsoft Exchange 2013 SP1.
- VERSION_2016 = 'Exchange2016'
- Microsoft Exchange 2016.
Properties
- $curl_options : array<string|int, mixed>
- cURL options to be passed to the SOAP client.
- $headers : array<string|int, SoapHeader>
- SOAP headers used for requests.
- $impersonation : ExchangeImpersonationType
- Exchange impersonation
- $password : string
- Password to use when connecting to the Exchange server.
- $server : string
- Location of the Exchange server.
- $soap : null|SoapClient
- SOAP client used to make the request.
- $timezone : string
- Timezone to be used for all requests.
- $username : string
- Username to use when connecting to the Exchange server.
- $version : string
- Microsoft Exchange version that we are going to connect to
Methods
- __construct() : mixed
- Constructor for the ExchangeWebServices class
- AddDelegate() : AddDelegateResponseMessageType
- Adds one or more delegates to a principal's mailbox and sets specific access permissions.
- AddDistributionGroupToImList() : AddDistributionGroupToImListResponseMessageType
- Adds a distribution group to the instant messaging (IM) list in the Unified Contact Store.
- AddImContactToGroup() : AddImContactToGroupResponseMessageType
- Adds an existing instant messaging (IM) contact to a group.
- AddImGroup() : AddImGroupResponseMessageType
- Adds a new instant messaging (IM) group to a mailbox.
- AddNewImContactToGroup() : AddNewImContactToGroupResponseMessageType
- Adds a new contact to an instant messaging (IM) group.
- AddNewTelUriContactToGroup() : AddNewTelUriContactToGroupResponse
- Adds a new contact to a group based on a contact's phone number.
- ApplyConversationAction() : ApplyConversationActionResponseType
- Sets a one-time or follow up action on all the items in a conversation.
- ArchiveItem() : ArchiveItemResponse
- Moves an item into the mailbox user's archive mailbox.
- ConvertId() : ConvertIdResponseType
- Converts item and folder identifiers between formats that are accepted by Exchange Online, Exchange Online as part of Office 365, and on-premises versions of Exchange.
- CopyFolder() : CopyFolderResponseType
- Copies folders in a mailbox.
- CopyItem() : CopyItemResponseType
- Copies items and puts the items in a different folder.
- CreateAttachment() : CreateAttachmentResponseType
- Creates either an item or file attachment and attaches it to the specified item.
- CreateFolder() : CreateFolderResponseType
- Creates folders, calendar folders, contacts folders, tasks folders, and search folders.
- CreateFolderPath() : CreateFolderPathResponseType
- Creates a folder hierarchy.
- CreateItem() : CreateItemResponseType
- Creates items in the Exchange store.
- CreateManagedFolder() : CreateManagedFolderResponseType
- Creates a managed folder in the Exchange store.
- CreateUserConfiguration() : CreateUserConfigurationResponseType
- Creates a user configuration object on a folder.
- DeleteAttachment() : DeleteAttachmentResponseType
- Deletes file and item attachments from an existing item in the Exchange store.
- DeleteFolder() : DeleteFolderResponseType
- Deletes folders from a mailbox.
- DeleteItem() : DeleteItemResponseType
- Deletes items in the Exchange store.
- DeleteUserConfiguration() : DeleteUserConfigurationResponseType
- Deletes a user configuration object on a folder.
- DisableApp() : DisableAppResponseType
- Disables a mail app for Outlook.
- DisconnectPhoneCall() : DisconnectPhoneCallResponseMessageType
- Terminates a telephone call.
- EmptyFolder() : EmptyFolderResponseType
- Empties folders in a mailbox.
- ExpandDL() : ExpandDLResponseType
- Exposes the full membership of distribution lists.
- ExportItems() : ExportItemsResponseType
- Exports items out of a mailbox.
- FindConversation() : FindConversationResponseMessageType
- Enumerates a list of conversations in a folder.
- FindFolder() : FindFolderResponseType
- Finds subfolders of an identified folder and returns a set of properties that describe the set of subfolders.
- FindItem() : FindItemResponseType
- Searches for items that are located in a user’s mailbox.
- FindMessageTrackingReport() : FindMessageTrackingReportResponseMessageType
- Finds messages that meet the specified criteria.
- FindPeople() : FindPeopleResponseMessageType
- Returns all persona objects from a specified Contacts folder or retrieves contacts that match a specified query string.
- GetAppManifests() : GetAppManifestsResponseType
- Retrieves app manifests.
- GetAppMarketplaceUrl() : GetAppMarketplaceUrlResponseMessageType
- Retrieves the URL for the app marketplace that a client can visit to acquire apps to install in a mailbox.
- GetAttachment() : GetAttachmentResponseType
- Retrieves existing attachments on items in the Exchange store.
- getClient() : SoapClient
- Returns the SOAP Client that may be used to make calls against the server
- GetClientAccessToken() : GetClientAccessTokenResponseType
- Gets a client access token for a mail app for Outlook.
- GetConversationItems() : GetConversationItemsResponseType
- Retrieves one or more sets of items that are organized in to nodes in a conversation.
- GetDelegate() : GetDelegateResponseMessageType
- Retrieves the delegate settings for a specified mailbox.
- GetDiscoverySearchConfiguration() : GetDiscoverySearchConfigurationResponseMessageType
- Returns configuration information for in-place holds, saved discovery searches, and the mailboxes that are enabled for discovery search.
- GetEvents() : GetEventsResponseType
- Used by pull subscription clients to request notifications from the Client Access server.
- GetFolder() : GetFolderResponseType
- Gets folders from the Exchange store.
- GetHoldOnMailboxes() : GetHoldOnMailboxesResponseMessageType
- Retrieves the mailboxes that are under a specific hold and the associated hold query.
- GetImItemList() : GetImItemListResponseMessageType
- Retrieves the list of instant messaging (IM) groups and IM contact personas in a mailbox.
- GetImItems() : GetImItemsResponse
- Retrieves information about instant messaging (IM) groups and IM contact personas.
- GetInboxRules() : GetInboxRulesResponseType
- Retrieves Inbox rules in the identified user's mailbox.
- GetItem() : GetItemResponseType
- Gets folders from the Exchange store.
- GetMailTips() : GetMailTipsResponseMessageType
- Retrieves the mail tips information for the specified mailbox.
- GetMessageTrackingReport() : GetMessageTrackingReportResponseMessageType
- Retrieves tracking information about the specified messages.
- GetNonIndexableItemDetails() : GetNonIndexableItemDetailsResponseMessageType
- Retrieves details about items that cannot be indexed.
- GetNonIndexableItemStatistics() : GetNonIndexableItemStatisticsResponseMessageType
- Retrieves the count of items that cannot be indexed in a mailbox.
- GetPasswordExpirationDate() : GetPasswordExpirationDateResponseMessageType
- Provides the email account password expiration date for the current user.
- GetPersona() : GetPersonaResponseMessageType
- Retrieves a set of properties that are associated with a persona.
- GetPhoneCallInformation() : GetPhoneCallInformationResponseMessageType
- Retrieves information about the specified telephone call.
- GetReminders() : GetRemindersResponseMessageType
- Retrieves reminders for calendar and task items.
- GetRoomLists() : GetRoomListsResponseMessageType
- Retrieves the room lists that are available within the Exchange organization.
- GetRooms() : GetRoomsResponseMessageType
- Retrieves the rooms within the specified room list.
- GetSearchableMailboxes() : GetSearchableMailboxesResponseMessageType
- Retrieves a scoped set of searchable mailboxes for discovery searches.
- GetServerTimeZones() : GetServerTimeZonesResponseType
- Retrieve the timezones supported by the server.
- GetServiceConfiguration() : GetServiceConfigurationResponseMessageType
- Retrieves configuration information for the specified type of service.
- GetSharingFolder() : GetSharingFolderResponseMessageType
- Retrieves the local folder identifier of a specified shared folder.
- GetSharingMetadata() : GetSharingMetadataResponseMessageType
- Gets an opaque authentication token that identifies a sharing invitation.
- GetStreamingEvents() : GetStreamingEventsResponseType
- Requests notifications from the Client Access server.
- GetUserAvailability() : GetUserAvailabilityResponseType
- Provides detailed information about the availability of a set of users, rooms, and resources within a specified time period.
- GetUserConfiguration() : GetUserConfigurationResponseType
- Retrieves a user configuration object from a folder.
- GetUserOofSettings() : GetUserOofSettingsResponse
- Gets a mailbox user's Out of Office (OOF) settings and messages.
- GetUserPhoto() : GetUserPhotoResponseMessageType
- Retrieves a user photo from Active Directory Domain Services (AD DS).
- GetUserRetentionPolicyTags() : GetUserRetentionPolicyTagsResponseMessageType
- Retrieves a list of all default, system folder, and personal tags that are associated with a user by means of a system policy or that were applied by the user.
- InstallApp() : InstallAppResponseType
- Installs a mail app for Outlook in a mailbox.
- MarkAllItemsAsRead() : MarkAllItemsAsReadResponseType
- Sets the IsRead property on all items, in one or more folders, to indicate that all items are either read or unread.
- MarkAsJunk() : MarkAsJunkResponseType
- Adds and removes users from the blocked email list and moves email messages to the Junk Email folder.
- MoveFolder() : MoveFolderResponseType
- Moves folders from a specified folder and puts them in another folder.
- MoveItem() : MoveItemResponseType
- Moves one or more items to a single destination folder.
- PerformReminderAction() : PerformReminderActionResponseMessageType
- Initiates a dismiss or snooze action on a reminder.
- PlayOnPhone() : PlayOnPhoneResponseMessageType
- Initiates an outbound call and plays a message over the telephone.
- RefreshSharingFolder() : RefreshSharingFolderResponseMessageType
- Refreshes the specified local folder with the latest data from the folder that is being shared.
- RemoveContactFromImList() : RemoveContactFromImListResponseMessageType
- Removes contacts from the Lync instant messaging (IM) list when Lync uses Exchange for the contact store.
- RemoveDelegate() : RemoveDelegateResponseMessageType
- Removes one or more delegates from a user's mailbox.
- RemoveDistributionGroupFromImList() : RemoveDistributionGroupFromImListResponseMessageType
- Removes a distribution group from the Lync instant messaging (IM) list when Lync uses Exchange for the contact store.
- RemoveImContactFromGroup() : RemoveImContactFromGroupResponseMessageType
- Removes a single IM contact from an IM group.
- RemoveImGroup() : RemoveImGroupResponseMessageType
- Removes a single instant messaging (IM) group from a mailbox.
- ResolveNames() : ResolveNamesResponseType
- Resolves ambiguous email addresses and display names.
- SearchMailboxes() : SearchMailboxesResponseType
- Searches mailboxes for occurrences of terms in mailbox items.
- SendItem() : SendItemResponseType
- Sends e-mail messages that are located in the Exchange store.
- setCurlOptions() : mixed
- Sets the cURL options that will be set on the SOAP client.
- SetHoldOnMailboxes() : SetHoldOnMailboxesResponseMessageType
- Sets a mailbox hold policy on mailboxes.
- SetImGroup() : SetImGroupResponseMessageType
- Changes the display name of an instant messaging (IM) group.
- setImpersonation() : mixed
- Sets the impersonation property
- setPassword() : mixed
- Sets the password property
- setServer() : mixed
- Sets the server property
- setTimezone() : mixed
- Sets the timezone to be used for all requests.
- setUsername() : mixed
- Sets the user name property
- SetUserOofSettings() : SetUserOofSettingsResponse
- Sets a mailbox user's Out of Office (OOF) settings and message.
- setVersion() : mixed
- Sets the version property
- Subscribe() : SubscribeResponseType
- Subscribes client applications to either push or pull notifications.
- SyncFolderHierarchy() : SyncFolderHierarchyResponseType
- Synchronizes folders between the computer that is running Microsoft Exchange Server and the client.
- SyncFolderItems() : SyncFolderItemsResponseType
- Synchronizes items between the Exchange server and the client.
- UninstallApp() : UninstallAppResponseType
- Uninstalls a mail app for Outlook.
- Unsubscribe() : UnsubscribeResponseType
- Ends a pull notification subscription.
- UpdateDelegate() : UpdateDelegateResponseMessageType
- Updates delegate permissions on a principal's mailbox.
- UpdateFolder() : UpdateFolderResponseType
- Modifies properties of an existing item in the Exchange store.
- UpdateInboxRules() : UpdateInboxRulesResponseType
- Updates the authenticated user's Inbox rules by applying the specified operations.
- UpdateItem() : UpdateItemResponseType
- Used to modify the properties of an existing item in the Exchange store.
- UpdateUserConfiguration() : UpdateUserConfigurationResponseType
- Updates a user configuration object on a folder.
- UploadItems() : UploadItemsResponseType
- Uploads a stream of items into an Exchange mailbox.
- classMap() : array<string|int, string>
- The class map used to process SOAP requests and responses.
- initializeSoapClient() : SoapClient
- Initializes the SoapClient object to make a request
- makeRequest() : Response
- Makes the SOAP call for a request.
- processResponse() : stdClass
- Process a response to verify that it succeeded and take the appropriate action
- soapHeaders() : array<string|int, SoapHeader>
- Builds the soap headers to be included with the request.
Constants
VERSION_2007
Microsoft Exchange 2007
public
string
VERSION_2007
= 'Exchange2007'
VERSION_2007_SP1
Microsoft Exchange 2007 SP1
public
string
VERSION_2007_SP1
= 'Exchange2007_SP1'
VERSION_2009
Microsoft Exchange 2007 SP2
public
string
VERSION_2009
= 'Exchange2009'
VERSION_2010
Microsoft Exchange 2010
public
string
VERSION_2010
= 'Exchange2010'
VERSION_2010_SP1
Microsoft Exchange 2010 SP1
public
string
VERSION_2010_SP1
= 'Exchange2010_SP1'
VERSION_2010_SP2
Microsoft Exchange 2010 SP2
public
string
VERSION_2010_SP2
= 'Exchange2010_SP2'
VERSION_2013
Microsoft Exchange 2013.
public
string
VERSION_2013
= 'Exchange2013'
VERSION_2013_SP1
Microsoft Exchange 2013 SP1.
public
string
VERSION_2013_SP1
= 'Exchange2013_SP1'
VERSION_2016
Microsoft Exchange 2016.
public
string
VERSION_2016
= 'Exchange2016'
Properties
$curl_options
cURL options to be passed to the SOAP client.
protected
array<string|int, mixed>
$curl_options
= array()
$headers
SOAP headers used for requests.
protected
array<string|int, SoapHeader>
$headers
= array()
$impersonation
Exchange impersonation
protected
ExchangeImpersonationType
$impersonation
$password
Password to use when connecting to the Exchange server.
protected
string
$password
$server
Location of the Exchange server.
protected
string
$server
$soap
SOAP client used to make the request.
protected
null|SoapClient
$soap
$timezone
Timezone to be used for all requests.
protected
string
$timezone
$username
Username to use when connecting to the Exchange server.
protected
string
$username
$version
Microsoft Exchange version that we are going to connect to
protected
string
$version
Tags
Methods
__construct()
Constructor for the ExchangeWebServices class
public
__construct([string $server = null ][, string $username = null ][, string $password = null ][, string $version = self::VERSION_2013 ]) : mixed
Parameters
- $server : string = null
- $username : string = null
- $password : string = null
- $version : string = self::VERSION_2013
-
One of the Client::VERSION_* constants.
AddDelegate()
Adds one or more delegates to a principal's mailbox and sets specific access permissions.
public
AddDelegate(AddDelegateType $request) : AddDelegateResponseMessageType
Parameters
- $request : AddDelegateType
Tags
Return values
AddDelegateResponseMessageTypeAddDistributionGroupToImList()
Adds a distribution group to the instant messaging (IM) list in the Unified Contact Store.
public
AddDistributionGroupToImList(AddDistributionGroupToImListType $request) : AddDistributionGroupToImListResponseMessageType
Parameters
- $request : AddDistributionGroupToImListType
Tags
Return values
AddDistributionGroupToImListResponseMessageTypeAddImContactToGroup()
Adds an existing instant messaging (IM) contact to a group.
public
AddImContactToGroup(AddImContactToGroup $request) : AddImContactToGroupResponseMessageType
Parameters
- $request : AddImContactToGroup
Tags
Return values
AddImContactToGroupResponseMessageTypeAddImGroup()
Adds a new instant messaging (IM) group to a mailbox.
public
AddImGroup(AddImGroupType $request) : AddImGroupResponseMessageType
Parameters
- $request : AddImGroupType
Tags
Return values
AddImGroupResponseMessageTypeAddNewImContactToGroup()
Adds a new contact to an instant messaging (IM) group.
public
AddNewImContactToGroup(AddNewImContactToGroup $request) : AddNewImContactToGroupResponseMessageType
Parameters
- $request : AddNewImContactToGroup
Tags
Return values
AddNewImContactToGroupResponseMessageTypeAddNewTelUriContactToGroup()
Adds a new contact to a group based on a contact's phone number.
public
AddNewTelUriContactToGroup(AddNewTelUriContactToGroupType $request) : AddNewTelUriContactToGroupResponse
Parameters
- $request : AddNewTelUriContactToGroupType
Tags
Return values
AddNewTelUriContactToGroupResponseApplyConversationAction()
Sets a one-time or follow up action on all the items in a conversation.
public
ApplyConversationAction(ApplyConversationActionType $request) : ApplyConversationActionResponseType
This operation allows you to categorize, move, copy, delete, and set the read state on all items in a conversation. Actions can also be set for new messages in a conversation.
Parameters
- $request : ApplyConversationActionType
Tags
Return values
ApplyConversationActionResponseTypeArchiveItem()
Moves an item into the mailbox user's archive mailbox.
public
ArchiveItem(ArchiveItemType $request) : ArchiveItemResponse
Parameters
- $request : ArchiveItemType
Tags
Return values
ArchiveItemResponseConvertId()
Converts item and folder identifiers between formats that are accepted by Exchange Online, Exchange Online as part of Office 365, and on-premises versions of Exchange.
public
ConvertId(ConvertIdType $request) : ConvertIdResponseType
Parameters
- $request : ConvertIdType
Tags
Return values
ConvertIdResponseTypeCopyFolder()
Copies folders in a mailbox.
public
CopyFolder(CopyFolderType $request) : CopyFolderResponseType
Parameters
- $request : CopyFolderType
Tags
Return values
CopyFolderResponseTypeCopyItem()
Copies items and puts the items in a different folder.
public
CopyItem(CopyItemType $request) : CopyItemResponseType
Parameters
- $request : CopyItemType
Tags
Return values
CopyItemResponseTypeCreateAttachment()
Creates either an item or file attachment and attaches it to the specified item.
public
CreateAttachment(CreateAttachmentType $request) : CreateAttachmentResponseType
Parameters
- $request : CreateAttachmentType
Tags
Return values
CreateAttachmentResponseTypeCreateFolder()
Creates folders, calendar folders, contacts folders, tasks folders, and search folders.
public
CreateFolder(CreateFolderType $request) : CreateFolderResponseType
Parameters
- $request : CreateFolderType
Tags
Return values
CreateFolderResponseTypeCreateFolderPath()
Creates a folder hierarchy.
public
CreateFolderPath(CreateFolderPathType $request) : CreateFolderPathResponseType
Parameters
- $request : CreateFolderPathType
Tags
Return values
CreateFolderPathResponseTypeCreateItem()
Creates items in the Exchange store.
public
CreateItem(CreateItemType $request) : CreateItemResponseType
Parameters
- $request : CreateItemType
Tags
Return values
CreateItemResponseTypeCreateManagedFolder()
Creates a managed folder in the Exchange store.
public
CreateManagedFolder(CreateManagedFolderRequestType $request) : CreateManagedFolderResponseType
Parameters
- $request : CreateManagedFolderRequestType
Tags
Return values
CreateManagedFolderResponseTypeCreateUserConfiguration()
Creates a user configuration object on a folder.
public
CreateUserConfiguration(CreateUserConfigurationType $request) : CreateUserConfigurationResponseType
Parameters
- $request : CreateUserConfigurationType
Tags
Return values
CreateUserConfigurationResponseTypeDeleteAttachment()
Deletes file and item attachments from an existing item in the Exchange store.
public
DeleteAttachment(DeleteAttachmentType $request) : DeleteAttachmentResponseType
Parameters
- $request : DeleteAttachmentType
Tags
Return values
DeleteAttachmentResponseTypeDeleteFolder()
Deletes folders from a mailbox.
public
DeleteFolder(DeleteFolderType $request) : DeleteFolderResponseType
Parameters
- $request : DeleteFolderType
Tags
Return values
DeleteFolderResponseTypeDeleteItem()
Deletes items in the Exchange store.
public
DeleteItem(DeleteItemType $request) : DeleteItemResponseType
Parameters
- $request : DeleteItemType
Tags
Return values
DeleteItemResponseTypeDeleteUserConfiguration()
Deletes a user configuration object on a folder.
public
DeleteUserConfiguration(DeleteUserConfigurationType $request) : DeleteUserConfigurationResponseType
Parameters
- $request : DeleteUserConfigurationType
Tags
Return values
DeleteUserConfigurationResponseTypeDisableApp()
Disables a mail app for Outlook.
public
DisableApp(DisableAppType $request) : DisableAppResponseType
Parameters
- $request : DisableAppType
Tags
Return values
DisableAppResponseTypeDisconnectPhoneCall()
Terminates a telephone call.
public
DisconnectPhoneCall(DisconnectPhoneCallType $request) : DisconnectPhoneCallResponseMessageType
Parameters
- $request : DisconnectPhoneCallType
Tags
Return values
DisconnectPhoneCallResponseMessageTypeEmptyFolder()
Empties folders in a mailbox.
public
EmptyFolder(EmptyFolderType $request) : EmptyFolderResponseType
Optionally, this operation enables you to delete the subfolders of the specified folder. When a subfolder is deleted, the subfolder and the messages within the subfolder are deleted.
Parameters
- $request : EmptyFolderType
Tags
Return values
EmptyFolderResponseTypeExpandDL()
Exposes the full membership of distribution lists.
public
ExpandDL(ExpandDLType $request) : ExpandDLResponseType
Parameters
- $request : ExpandDLType
Tags
Return values
ExpandDLResponseTypeExportItems()
Exports items out of a mailbox.
public
ExportItems(ExportItemsType $request) : ExportItemsResponseType
Parameters
- $request : ExportItemsType
Tags
Return values
ExportItemsResponseTypeFindConversation()
Enumerates a list of conversations in a folder.
public
FindConversation(FindConversationType $request) : FindConversationResponseMessageType
Parameters
- $request : FindConversationType
Return values
FindConversationResponseMessageTypeFindFolder()
Finds subfolders of an identified folder and returns a set of properties that describe the set of subfolders.
public
FindFolder(FindFolderType $request) : FindFolderResponseType
Parameters
- $request : FindFolderType
Tags
Return values
FindFolderResponseTypeFindItem()
Searches for items that are located in a user’s mailbox.
public
FindItem(FindItemType $request) : FindItemResponseType
This operation provides many ways to filter and format how search results are returned to the caller.
Parameters
- $request : FindItemType
Tags
Return values
FindItemResponseTypeFindMessageTrackingReport()
Finds messages that meet the specified criteria.
public
FindMessageTrackingReport(FindMessageTrackingReportRequestType $request) : FindMessageTrackingReportResponseMessageType
Parameters
- $request : FindMessageTrackingReportRequestType
Tags
Return values
FindMessageTrackingReportResponseMessageTypeFindPeople()
Returns all persona objects from a specified Contacts folder or retrieves contacts that match a specified query string.
public
FindPeople(FindPeopleType $request) : FindPeopleResponseMessageType
Parameters
- $request : FindPeopleType
Tags
Return values
FindPeopleResponseMessageTypeGetAppManifests()
Retrieves app manifests.
public
GetAppManifests(GetAppManifestsType $request) : GetAppManifestsResponseType
Parameters
- $request : GetAppManifestsType
Tags
Return values
GetAppManifestsResponseTypeGetAppMarketplaceUrl()
Retrieves the URL for the app marketplace that a client can visit to acquire apps to install in a mailbox.
public
GetAppMarketplaceUrl(GetAppMarketplaceUrl $request) : GetAppMarketplaceUrlResponseMessageType
Parameters
- $request : GetAppMarketplaceUrl
Tags
Return values
GetAppMarketplaceUrlResponseMessageTypeGetAttachment()
Retrieves existing attachments on items in the Exchange store.
public
GetAttachment(GetAttachmentType $request) : GetAttachmentResponseType
Parameters
- $request : GetAttachmentType
Tags
Return values
GetAttachmentResponseTypegetClient()
Returns the SOAP Client that may be used to make calls against the server
public
getClient() : SoapClient
Return values
SoapClientGetClientAccessToken()
Gets a client access token for a mail app for Outlook.
public
GetClientAccessToken(GetClientAccessTokenType $request) : GetClientAccessTokenResponseType
Parameters
- $request : GetClientAccessTokenType
Tags
Return values
GetClientAccessTokenResponseTypeGetConversationItems()
Retrieves one or more sets of items that are organized in to nodes in a conversation.
public
GetConversationItems(GetConversationItemsType $request) : GetConversationItemsResponseType
Parameters
- $request : GetConversationItemsType
Tags
Return values
GetConversationItemsResponseTypeGetDelegate()
Retrieves the delegate settings for a specified mailbox.
public
GetDelegate(GetDelegateType $request) : GetDelegateResponseMessageType
Parameters
- $request : GetDelegateType
Tags
Return values
GetDelegateResponseMessageTypeGetDiscoverySearchConfiguration()
Returns configuration information for in-place holds, saved discovery searches, and the mailboxes that are enabled for discovery search.
public
GetDiscoverySearchConfiguration(GetDiscoverySearchConfigurationType $request) : GetDiscoverySearchConfigurationResponseMessageType
Parameters
- $request : GetDiscoverySearchConfigurationType
Tags
Return values
GetDiscoverySearchConfigurationResponseMessageTypeGetEvents()
Used by pull subscription clients to request notifications from the Client Access server.
public
GetEvents(GetEventsType $request) : GetEventsResponseType
The response returns an array of items and events that have occurred in a mailbox since the last the notification.
Parameters
- $request : GetEventsType
Tags
Return values
GetEventsResponseTypeGetFolder()
Gets folders from the Exchange store.
public
GetFolder(GetFolderType $request) : GetFolderResponseType
Parameters
- $request : GetFolderType
Tags
Return values
GetFolderResponseTypeGetHoldOnMailboxes()
Retrieves the mailboxes that are under a specific hold and the associated hold query.
public
GetHoldOnMailboxes(GetHoldOnMailboxesType $request) : GetHoldOnMailboxesResponseMessageType
Parameters
- $request : GetHoldOnMailboxesType
Tags
Return values
GetHoldOnMailboxesResponseMessageTypeGetImItemList()
Retrieves the list of instant messaging (IM) groups and IM contact personas in a mailbox.
public
GetImItemList(GetImItemListType $request) : GetImItemListResponseMessageType
Parameters
- $request : GetImItemListType
Tags
Return values
GetImItemListResponseMessageTypeGetImItems()
Retrieves information about instant messaging (IM) groups and IM contact personas.
public
GetImItems(GetImItemsType $request) : GetImItemsResponse
Parameters
- $request : GetImItemsType
Tags
Return values
GetImItemsResponseGetInboxRules()
Retrieves Inbox rules in the identified user's mailbox.
public
GetInboxRules(GetInboxRulesRequestType $request) : GetInboxRulesResponseType
Parameters
- $request : GetInboxRulesRequestType
Tags
Return values
GetInboxRulesResponseTypeGetItem()
Gets folders from the Exchange store.
public
GetItem(GetItemType $request) : GetItemResponseType
Parameters
- $request : GetItemType
Tags
Return values
GetItemResponseTypeGetMailTips()
Retrieves the mail tips information for the specified mailbox.
public
GetMailTips(GetMailTipsType $request) : GetMailTipsResponseMessageType
Parameters
- $request : GetMailTipsType
Tags
Return values
GetMailTipsResponseMessageTypeGetMessageTrackingReport()
Retrieves tracking information about the specified messages.
public
GetMessageTrackingReport(GetMessageTrackingReportRequestType $request) : GetMessageTrackingReportResponseMessageType
Parameters
- $request : GetMessageTrackingReportRequestType
Tags
Return values
GetMessageTrackingReportResponseMessageTypeGetNonIndexableItemDetails()
Retrieves details about items that cannot be indexed.
public
GetNonIndexableItemDetails(GetNonIndexableItemDetailsType $request) : GetNonIndexableItemDetailsResponseMessageType
This includes, but is not limited to, the item identifier, an error code, an error description, when an attempt was made to index the item, and additional information about the file.
Parameters
- $request : GetNonIndexableItemDetailsType
Tags
Return values
GetNonIndexableItemDetailsResponseMessageTypeGetNonIndexableItemStatistics()
Retrieves the count of items that cannot be indexed in a mailbox.
public
GetNonIndexableItemStatistics(GetNonIndexableItemStatisticsType $request) : GetNonIndexableItemStatisticsResponseMessageType
Parameters
- $request : GetNonIndexableItemStatisticsType
Tags
Return values
GetNonIndexableItemStatisticsResponseMessageTypeGetPasswordExpirationDate()
Provides the email account password expiration date for the current user.
public
GetPasswordExpirationDate(GetPasswordExpirationDateType $request) : GetPasswordExpirationDateResponseMessageType
Parameters
- $request : GetPasswordExpirationDateType
Tags
Return values
GetPasswordExpirationDateResponseMessageTypeGetPersona()
Retrieves a set of properties that are associated with a persona.
public
GetPersona(GetPersonaType $request) : GetPersonaResponseMessageType
Parameters
- $request : GetPersonaType
Tags
Return values
GetPersonaResponseMessageTypeGetPhoneCallInformation()
Retrieves information about the specified telephone call.
public
GetPhoneCallInformation(GetPhoneCallInformationType $request) : GetPhoneCallInformationResponseMessageType
Parameters
- $request : GetPhoneCallInformationType
Tags
Return values
GetPhoneCallInformationResponseMessageTypeGetReminders()
Retrieves reminders for calendar and task items.
public
GetReminders(GetRemindersType $request) : GetRemindersResponseMessageType
Parameters
- $request : GetRemindersType
Tags
Return values
GetRemindersResponseMessageTypeGetRoomLists()
Retrieves the room lists that are available within the Exchange organization.
public
GetRoomLists(GetRoomListsType $request) : GetRoomListsResponseMessageType
Parameters
- $request : GetRoomListsType
Tags
Return values
GetRoomListsResponseMessageTypeGetRooms()
Retrieves the rooms within the specified room list.
public
GetRooms(GetRoomsType $request) : GetRoomsResponseMessageType
Parameters
- $request : GetRoomsType
Tags
Return values
GetRoomsResponseMessageTypeGetSearchableMailboxes()
Retrieves a scoped set of searchable mailboxes for discovery searches.
public
GetSearchableMailboxes(GetSearchableMailboxesType $request) : GetSearchableMailboxesResponseMessageType
The scope of searchable mailboxes returned in the response is determined by the search filter and whether distribution group membership is expanded.
Parameters
- $request : GetSearchableMailboxesType
Tags
Return values
GetSearchableMailboxesResponseMessageTypeGetServerTimeZones()
Retrieve the timezones supported by the server.
public
GetServerTimeZones(GetServerTimeZonesType $request) : GetServerTimeZonesResponseType
Parameters
- $request : GetServerTimeZonesType
Tags
Return values
GetServerTimeZonesResponseTypeGetServiceConfiguration()
Retrieves configuration information for the specified type of service.
public
GetServiceConfiguration(GetServiceConfigurationType $request) : GetServiceConfigurationResponseMessageType
This operation can return configuration settings for the Unified Messaging, Protection Rules, and Mail Tips services.
Parameters
- $request : GetServiceConfigurationType
Tags
Return values
GetServiceConfigurationResponseMessageTypeGetSharingFolder()
Retrieves the local folder identifier of a specified shared folder.
public
GetSharingFolder(GetSharingFolderType $request) : GetSharingFolderResponseMessageType
Parameters
- $request : GetSharingFolderType
Tags
Return values
GetSharingFolderResponseMessageTypeGetSharingMetadata()
Gets an opaque authentication token that identifies a sharing invitation.
public
GetSharingMetadata(GetSharingMetadataType $request) : GetSharingMetadataResponseMessageType
Parameters
- $request : GetSharingMetadataType
Tags
Return values
GetSharingMetadataResponseMessageTypeGetStreamingEvents()
Requests notifications from the Client Access server.
public
GetStreamingEvents(GetStreamingEventsType $request) : GetStreamingEventsResponseType
The GetStreamingEvents response returns an array of items and events that have occurred in a mailbox since the last the notification.
Parameters
- $request : GetStreamingEventsType
Tags
Return values
GetStreamingEventsResponseTypeGetUserAvailability()
Provides detailed information about the availability of a set of users, rooms, and resources within a specified time period.
public
GetUserAvailability(GetUserAvailabilityRequestType $request) : GetUserAvailabilityResponseType
Parameters
- $request : GetUserAvailabilityRequestType
Tags
Return values
GetUserAvailabilityResponseTypeGetUserConfiguration()
Retrieves a user configuration object from a folder.
public
GetUserConfiguration(GetUserConfigurationType $request) : GetUserConfigurationResponseType
Parameters
- $request : GetUserConfigurationType
Tags
Return values
GetUserConfigurationResponseTypeGetUserOofSettings()
Gets a mailbox user's Out of Office (OOF) settings and messages.
public
GetUserOofSettings(GetUserOofSettingsRequest $request) : GetUserOofSettingsResponse
Parameters
- $request : GetUserOofSettingsRequest
Tags
Return values
GetUserOofSettingsResponseGetUserPhoto()
Retrieves a user photo from Active Directory Domain Services (AD DS).
public
GetUserPhoto(GetUserPhotoType $request) : GetUserPhotoResponseMessageType
Parameters
- $request : GetUserPhotoType
Tags
Return values
GetUserPhotoResponseMessageTypeGetUserRetentionPolicyTags()
Retrieves a list of all default, system folder, and personal tags that are associated with a user by means of a system policy or that were applied by the user.
public
GetUserRetentionPolicyTags(GetUserRetentionPolicyTagsType $request) : GetUserRetentionPolicyTagsResponseMessageType
Parameters
- $request : GetUserRetentionPolicyTagsType
Tags
Return values
GetUserRetentionPolicyTagsResponseMessageTypeInstallApp()
Installs a mail app for Outlook in a mailbox.
public
InstallApp(InstallAppType $request) : InstallAppResponseType
Parameters
- $request : InstallAppType
Tags
Return values
InstallAppResponseTypeMarkAllItemsAsRead()
Sets the IsRead property on all items, in one or more folders, to indicate that all items are either read or unread.
public
MarkAllItemsAsRead(MarkAllItemsAsRead $request) : MarkAllItemsAsReadResponseType
Parameters
- $request : MarkAllItemsAsRead
Tags
Return values
MarkAllItemsAsReadResponseTypeMarkAsJunk()
Adds and removes users from the blocked email list and moves email messages to the Junk Email folder.
public
MarkAsJunk(MarkAsJunkType $request) : MarkAsJunkResponseType
Parameters
- $request : MarkAsJunkType
Tags
Return values
MarkAsJunkResponseTypeMoveFolder()
Moves folders from a specified folder and puts them in another folder.
public
MoveFolder(MoveFolderType $request) : MoveFolderResponseType
Parameters
- $request : MoveFolderType
Tags
Return values
MoveFolderResponseTypeMoveItem()
Moves one or more items to a single destination folder.
public
MoveItem(MoveItemType $request) : MoveItemResponseType
Parameters
- $request : MoveItemType
Tags
Return values
MoveItemResponseTypePerformReminderAction()
Initiates a dismiss or snooze action on a reminder.
public
PerformReminderAction(PerformReminderActionType $request) : PerformReminderActionResponseMessageType
Parameters
- $request : PerformReminderActionType
Tags
Return values
PerformReminderActionResponseMessageTypePlayOnPhone()
Initiates an outbound call and plays a message over the telephone.
public
PlayOnPhone(PlayOnPhoneType $request) : PlayOnPhoneResponseMessageType
Parameters
- $request : PlayOnPhoneType
Tags
Return values
PlayOnPhoneResponseMessageTypeRefreshSharingFolder()
Refreshes the specified local folder with the latest data from the folder that is being shared.
public
RefreshSharingFolder(RefreshSharingFolderType $request) : RefreshSharingFolderResponseMessageType
Parameters
- $request : RefreshSharingFolderType
Tags
Return values
RefreshSharingFolderResponseMessageTypeRemoveContactFromImList()
Removes contacts from the Lync instant messaging (IM) list when Lync uses Exchange for the contact store.
public
RemoveContactFromImList(RemoveContactFromImListType $request) : RemoveContactFromImListResponseMessageType
Parameters
- $request : RemoveContactFromImListType
Tags
Return values
RemoveContactFromImListResponseMessageTypeRemoveDelegate()
Removes one or more delegates from a user's mailbox.
public
RemoveDelegate(RemoveDelegateType $request) : RemoveDelegateResponseMessageType
Parameters
- $request : RemoveDelegateType
Tags
Return values
RemoveDelegateResponseMessageTypeRemoveDistributionGroupFromImList()
Removes a distribution group from the Lync instant messaging (IM) list when Lync uses Exchange for the contact store.
public
RemoveDistributionGroupFromImList(RemoveDistributionGroupFromImListType $request) : RemoveDistributionGroupFromImListResponseMessageType
Parameters
- $request : RemoveDistributionGroupFromImListType
Tags
Return values
RemoveDistributionGroupFromImListResponseMessageTypeRemoveImContactFromGroup()
Removes a single IM contact from an IM group.
public
RemoveImContactFromGroup(RemoveImContactFromGroupType $request) : RemoveImContactFromGroupResponseMessageType
Parameters
- $request : RemoveImContactFromGroupType
Tags
Return values
RemoveImContactFromGroupResponseMessageTypeRemoveImGroup()
Removes a single instant messaging (IM) group from a mailbox.
public
RemoveImGroup(RemoveImGroupType $request) : RemoveImGroupResponseMessageType
Parameters
- $request : RemoveImGroupType
Tags
Return values
RemoveImGroupResponseMessageTypeResolveNames()
Resolves ambiguous email addresses and display names.
public
ResolveNames(ResolveNamesType $request) : ResolveNamesResponseType
Parameters
- $request : ResolveNamesType
Tags
Return values
ResolveNamesResponseTypeSearchMailboxes()
Searches mailboxes for occurrences of terms in mailbox items.
public
SearchMailboxes(SearchMailboxesType $request) : SearchMailboxesResponseType
Parameters
- $request : SearchMailboxesType
Tags
Return values
SearchMailboxesResponseTypeSendItem()
Sends e-mail messages that are located in the Exchange store.
public
SendItem(SendItemType $request) : SendItemResponseType
Parameters
- $request : SendItemType
Tags
Return values
SendItemResponseTypesetCurlOptions()
Sets the cURL options that will be set on the SOAP client.
public
setCurlOptions(array<string|int, mixed> $options) : mixed
Parameters
- $options : array<string|int, mixed>
SetHoldOnMailboxes()
Sets a mailbox hold policy on mailboxes.
public
SetHoldOnMailboxes(SetHoldOnMailboxesType $request) : SetHoldOnMailboxesResponseMessageType
Parameters
- $request : SetHoldOnMailboxesType
Tags
Return values
SetHoldOnMailboxesResponseMessageTypeSetImGroup()
Changes the display name of an instant messaging (IM) group.
public
SetImGroup(SetImGroupType $request) : SetImGroupResponseMessageType
Parameters
- $request : SetImGroupType
Tags
Return values
SetImGroupResponseMessageTypesetImpersonation()
Sets the impersonation property
public
setImpersonation(ExchangeImpersonationType $impersonation) : mixed
Parameters
- $impersonation : ExchangeImpersonationType
setPassword()
Sets the password property
public
setPassword(string $password) : mixed
Parameters
- $password : string
setServer()
Sets the server property
public
setServer(string $server) : mixed
Parameters
- $server : string
setTimezone()
Sets the timezone to be used for all requests.
public
setTimezone(string $timezone) : mixed
Parameters
- $timezone : string
setUsername()
Sets the user name property
public
setUsername(string $username) : mixed
Parameters
- $username : string
SetUserOofSettings()
Sets a mailbox user's Out of Office (OOF) settings and message.
public
SetUserOofSettings(SetUserOofSettingsRequest $request) : SetUserOofSettingsResponse
Parameters
- $request : SetUserOofSettingsRequest
Tags
Return values
SetUserOofSettingsResponsesetVersion()
Sets the version property
public
setVersion(string $version) : mixed
Parameters
- $version : string
Subscribe()
Subscribes client applications to either push or pull notifications.
public
Subscribe(SubscribeType $request) : SubscribeResponseType
It is important to be aware that the structure of the request messages and responses is different depending on the type of event notification.
Parameters
- $request : SubscribeType
Tags
Return values
SubscribeResponseTypeSyncFolderHierarchy()
Synchronizes folders between the computer that is running Microsoft Exchange Server and the client.
public
SyncFolderHierarchy(SyncFolderHierarchyType $request) : SyncFolderHierarchyResponseType
Parameters
- $request : SyncFolderHierarchyType
Tags
Return values
SyncFolderHierarchyResponseTypeSyncFolderItems()
Synchronizes items between the Exchange server and the client.
public
SyncFolderItems(SyncFolderItemsType $request) : SyncFolderItemsResponseType
Parameters
- $request : SyncFolderItemsType
Tags
Return values
SyncFolderItemsResponseTypeUninstallApp()
Uninstalls a mail app for Outlook.
public
UninstallApp(UninstallAppType $request) : UninstallAppResponseType
Parameters
- $request : UninstallAppType
Tags
Return values
UninstallAppResponseTypeUnsubscribe()
Ends a pull notification subscription.
public
Unsubscribe(UnsubscribeType $request) : UnsubscribeResponseType
Use this operation rather than letting a subscription timeout. This operation is only valid for pull notifications.
Parameters
- $request : UnsubscribeType
Tags
Return values
UnsubscribeResponseTypeUpdateDelegate()
Updates delegate permissions on a principal's mailbox.
public
UpdateDelegate(UpdateDelegateType $request) : UpdateDelegateResponseMessageType
Parameters
- $request : UpdateDelegateType
Tags
Return values
UpdateDelegateResponseMessageTypeUpdateFolder()
Modifies properties of an existing item in the Exchange store.
public
UpdateFolder(UpdateFolderType $request) : UpdateFolderResponseType
Each UpdateFolder operation consists of the following:
- A FolderId element that specifies a folder to update.
- An internal path of an element in the folder, as specified by the folder shape, which specifies the data to update.
- A folder that contains the new value of the updated field, if the update is not a deletion.
Parameters
- $request : UpdateFolderType
Tags
Return values
UpdateFolderResponseTypeUpdateInboxRules()
Updates the authenticated user's Inbox rules by applying the specified operations.
public
UpdateInboxRules(UpdateInboxRulesRequestType $request) : UpdateInboxRulesResponseType
This operation is used to create an Inbox rule, to set an Inbox rule, or to delete an Inbox rule.
Parameters
- $request : UpdateInboxRulesRequestType
Tags
Return values
UpdateInboxRulesResponseTypeUpdateItem()
Used to modify the properties of an existing item in the Exchange store.
public
UpdateItem(UpdateItemType $request) : UpdateItemResponseType
Parameters
- $request : UpdateItemType
Tags
Return values
UpdateItemResponseTypeUpdateUserConfiguration()
Updates a user configuration object on a folder.
public
UpdateUserConfiguration(UpdateUserConfigurationType $request) : UpdateUserConfigurationResponseType
Parameters
- $request : UpdateUserConfigurationType
Tags
Return values
UpdateUserConfigurationResponseTypeUploadItems()
Uploads a stream of items into an Exchange mailbox.
public
UploadItems(UploadItemsType $request) : UploadItemsResponseType
Parameters
- $request : UploadItemsType
Tags
Return values
UploadItemsResponseTypeclassMap()
The class map used to process SOAP requests and responses.
protected
classMap() : array<string|int, string>
Tags
Return values
array<string|int, string>initializeSoapClient()
Initializes the SoapClient object to make a request
protected
initializeSoapClient() : SoapClient
Return values
SoapClientmakeRequest()
Makes the SOAP call for a request.
protected
makeRequest(string $operation, Request $request) : Response
Parameters
- $operation : string
-
The operation to be called.
- $request : Request
-
The request object for the operation.
Tags
Return values
Response —The response object for the operation.
processResponse()
Process a response to verify that it succeeded and take the appropriate action
protected
processResponse(stdClass $response) : stdClass
Parameters
- $response : stdClass
Tags
Return values
stdClasssoapHeaders()
Builds the soap headers to be included with the request.
protected
soapHeaders() : array<string|int, SoapHeader>