ews-cpp  0.9
Classes | Typedefs | Enumerations | Functions
ews Namespace Reference

Contains all classes, functions, and enumerations of this library. More...

Classes

class  absolute_monthly_recurrence
 An event that occurs on the same day each month or monthly interval. More...
 
class  absolute_yearly_recurrence
 A yearly recurrence pattern, e.g., a birthday. More...
 
class  and_
 Allows you to express a boolean And operation between two search expressions. More...
 
class  assertion_error
 Raised when an assertion fails. More...
 
class  attachment
 Represents a <FileAttachment> or an <ItemAttachment> More...
 
class  attachment_id
 Contains the unique identifier of an attachment. More...
 
class  attendee
 An attendee of a meeting or a meeting room. More...
 
struct  autodiscover_hints
 
struct  autodiscover_result
 
class  basic_credentials
 This class allows HTTP basic authentication. More...
 
class  basic_service
 Allows you to perform operations on an Exchange server. More...
 
class  body
 Represents the actual content of a message. More...
 
class  calendar_item
 Represents a calendar item in the Exchange store. More...
 
class  calendar_view
 A range view of appointments in a calendar. More...
 
class  complete_name
 
class  connecting_sid
 Represents a ConnectingSID element. More...
 
class  contact
 A contact item in the Exchange store. More...
 
class  contains
 Check if a text property contains a sub-string. More...
 
class  curl_error
 Exception for libcurl related runtime errors. More...
 
class  daily_recurrence
 Describes a daily recurring event. More...
 
class  date_time
 A thin wrapper around xs:dateTime formatted strings. More...
 
class  delegate_user
 Represents a single delegate. More...
 
class  directory_id
 
class  distinguished_folder_id
 Renders a <DistinguishedFolderId> element. More...
 
class  duration
 Specifies a time interval. More...
 
class  email_address
 
class  end_date_recurrence_range
 Represents recurrence range with end date. More...
 
class  exception
 Base-class for all exceptions thrown by this library. More...
 
class  exchange_error
 Exception thrown when a request was not successful. More...
 
class  extended_field_uri
 The ExtendedFieldURI element identifies an extended MAPI property. More...
 
class  extended_property
 Represents an <ExtendedProperty>. More...
 
class  folder
 Represents a generic <Folder> in the Exchange store. More...
 
class  folder_id
 Identifies a folder. More...
 
class  http_error
 Exception thrown when a HTTP request was not successful. More...
 
class  im_address
 
class  indexed_property_path
 Identifies individual members of a dictionary property by an URI and index. More...
 
class  internet_message_header
 Represents an <InternetMessageHeader> property. More...
 
class  is_equal_to
 Compare a property with a constant or another property. More...
 
class  is_greater_than
 Compare a property with a constant or another property. More...
 
class  is_greater_than_or_equal_to
 Compare a property with a constant or another property. More...
 
class  is_less_than
 Compare a property with a constant or another property. More...
 
class  is_less_than_or_equal_to
 Compare a property with a constant or another property. More...
 
class  is_not_equal_to
 Compare a property with a constant or another property. More...
 
class  item
 Represents a generic <Item> in the Exchange store. More...
 
class  item_id
 The unique identifier and change key of an item in the Exchange store. More...
 
class  item_shape
 Renders an <ItemShape> element. More...
 
class  mailbox
 Represents a SMTP mailbox. More...
 
class  message
 A message item in the Exchange store. More...
 
class  mime_content
 Represents an item's <MimeContent CharacterSet="" /> element. More...
 
class  no_end_recurrence_range
 Represents recurrence range with no end date. More...
 
class  not_
 Negates the boolean value of the search expression it contains. More...
 
class  ntlm_credentials
 This class allows NTLM authentication. More...
 
class  numbered_recurrence_range
 Represents a numbered recurrence range. More...
 
class  oauth2_client_credentials
 This class allows OAuth2 authentification using the client credentials grant type. More...
 
class  oauth2_resource_owner_password_credentials
 This class allows OAuth2 authentification using the Ressource Owner Password Credentials grant. More...
 
class  occurrence_info
 Holds a subset of properties from an existing calendar item. More...
 
class  occurrence_item_id
 The OccurrenceItemId element identifies a single occurrence of a recurring item. More...
 
class  or_
 Allows you to express a logical Or operation between two search expressions. More...
 
class  paging_view
 A paged view of items in a folder. More...
 
class  phone_number
 
class  physical_address
 
class  property
 Represents a single property. More...
 
class  property_path
 Identifies frequently referenced properties by an URI. More...
 
class  recurrence_pattern
 Abstract base class for all recurrence patterns. More...
 
class  recurrence_range
 Abstract base class for all recurrence ranges. More...
 
class  relative_monthly_recurrence
 An event that occurs annually relative to a month, week, and day. More...
 
class  relative_yearly_recurrence
 An event that occurs annually relative to a month, week, and day. More...
 
struct  resolution
 
class  resolution_set
 
class  schema_validation_error
 A SOAP fault that is raised when we sent invalid XML. More...
 
class  search_expression
 Base-class for all search expressions. More...
 
class  soap_fault
 A SOAP fault occurred due to a bad request. More...
 
class  sync_folder_hierarchy_result
 
class  sync_folder_items_result
 
class  task
 Represents a concrete task in the Exchange store. More...
 
class  update
 An update to a single property of an item. More...
 
class  user_id
 
class  weekly_recurrence
 A weekly recurrence. More...
 
class  xml_parse_error
 Raised when a response from a server could not be parsed. More...
 

Typedefs

typedef date_time date
 A xs:date formatted string. More...
 
typedef send_meeting_cancellations send_meeting_invitations
 
typedef basic_service service
 

Enumerations

enum  affected_task_occurrences {
  affected_task_occurrences::all_occurrences,
  affected_task_occurrences::specified_occurrence_only
}
 Indicates which occurrences of a recurring series should be deleted. More...
 
enum  base_shape {
  base_shape::id_only,
  base_shape::default_shape,
  base_shape::all_properties
}
 Specifies the set of properties that a GetItem or GetFolder method call will return. More...
 
enum  body_type {
  body_type::best,
  body_type::plain_text,
  body_type::html
}
 Specifies the type of a <Body> element. More...
 
enum  calendar_item_type {
  calendar_item_type::single,
  calendar_item_type::occurrence,
  calendar_item_type::exception,
  calendar_item_type::recurring_master
}
 The CalendarItemType class represents an Exchange calendar item. More...
 
enum  conflict_resolution {
  conflict_resolution::never_overwrite,
  conflict_resolution::auto_resolve,
  conflict_resolution::always_overwrite
}
 The type of conflict resolution to try during an UpdateItem method call. More...
 
enum  containment_comparison {
  containment_comparison::exact,
  containment_comparison::ignore_case,
  containment_comparison::ignore_non_spacing_characters,
  containment_comparison::loose
}
 This enumeration determines how case and non-spacing characters are considered when evaluating a text search expression. More...
 
enum  containment_mode {
  containment_mode::full_string,
  containment_mode::prefixed,
  containment_mode::substring,
  containment_mode::prefix_on_words,
  containment_mode::exact_phrase
}
 Specifies which parts of a text value are compared to a supplied constant value. More...
 
enum  day_of_week {
  day_of_week::sun,
  day_of_week::mon,
  day_of_week::tue,
  day_of_week::wed,
  day_of_week::thu,
  day_of_week::fri,
  day_of_week::sat,
  day_of_week::day,
  day_of_week::weekday,
  day_of_week::weekend_day
}
 Describes working days. More...
 
enum  day_of_week_index {
  day_of_week_index::first,
  day_of_week_index::second,
  day_of_week_index::third,
  day_of_week_index::fourth,
  day_of_week_index::last
}
 This element describes which week in a month is used in a relative recurrence pattern. More...
 
enum  delegation_state {
  delegation_state::no_match,
  delegation_state::own_new,
  delegation_state::owned,
  delegation_state::accepted,
  delegation_state::declined,
  delegation_state::max
}
 Describes the state of a delegated task. More...
 
enum  delete_type {
  delete_type::hard_delete,
  delete_type::move_to_deleted_items
}
 Describes how items are deleted from the Exchange store. More...
 
enum  free_busy_status {
  free_busy_status::free,
  free_busy_status::tentative,
  free_busy_status::busy,
  free_busy_status::out_of_office,
  free_busy_status::no_data,
  free_busy_status::working_elsewhere
}
 Gets the free/busy status that is associated with the event. More...
 
enum  importance {
  importance::low,
  importance::normal,
  importance::high
}
 This enumeration indicates the importance of an item. More...
 
enum  message_disposition {
  message_disposition::save_only,
  message_disposition::send_only,
  message_disposition::send_and_save_copy
}
 <CreateItem> and <UpdateItem> methods use this attribute. Only applicable to email messages More...
 
enum  month {
  month::jan,
  month::feb,
  month::mar,
  month::apr,
  month::may,
  month::june,
  month::july,
  month::aug,
  month::sept,
  month::oct,
  month::nov,
  month::dec
}
 Describes the month when a yearly recurring item occurs. More...
 
enum  paging_base_point {
  paging_base_point::beginning,
  paging_base_point::end
}
 Defines the base point for paged searches with <FindItem> and <FindFolder>. More...
 
enum  response_class {
  response_class::error,
  response_class::success,
  response_class::warning
}
 The ResponseClass attribute of a ResponseMessage. More...
 
enum  response_code {
  response_code::no_error,
  response_code::error_access_denied,
  response_code::error_access_mode_specified,
  response_code::error_account_disabled,
  response_code::error_add_delegates_failed,
  response_code::error_address_space_not_found,
  response_code::error_ad_operation,
  response_code::error_ad_session_filter,
  response_code::error_ad_unavailable,
  response_code::error_affected_task_occurrences_required,
  response_code::error_archive_folder_path_creation,
  response_code::error_archive_mailbox_not_enabled,
  response_code::error_attachment_nest_level_limit_exceeded,
  response_code::error_attachment_size_limit_exceeded,
  response_code::error_auto_discover_failed,
  response_code::error_availability_config_not_found,
  response_code::error_batch_processing_stopped,
  response_code::error_calendar_cannot_move_or_copy_occurrence,
  response_code::error_calendar_cannot_update_deleted_item,
  response_code::error_calendar_cannot_use_id_for_occurrence_id,
  response_code::error_calendar_cannot_use_id_for_recurring_master_id,
  response_code::error_calendar_duration_is_too_long,
  response_code::error_calendar_end_date_is_earlier_than_start_date,
  response_code::error_calendar_folder_is_invalid_for_calendar_view,
  response_code::error_calendar_invalid_attribute_value,
  response_code::error_calendar_invalid_day_for_time_change_pattern,
  response_code::error_calendar_invalid_day_for_weekly_recurrence,
  response_code::error_calendar_invalid_property_state,
  response_code::error_calendar_invalid_property_value,
  response_code::error_calendar_invalid_recurrence,
  response_code::error_calendar_invalid_time_zone,
  response_code::error_calendar_is_cancelled_for_accept,
  response_code::error_calendar_is_cancelled_for_decline,
  response_code::error_calendar_is_cancelled_for_remove,
  response_code::error_calendar_is_cancelled_for_tentative,
  response_code::error_calendar_is_delegated_for_accept,
  response_code::error_calendar_is_delegated_for_decline,
  response_code::error_calendar_is_delegated_for_remove,
  response_code::error_calendar_is_delegated_for_tentative,
  response_code::error_calendar_is_not_organizer,
  response_code::error_calendar_is_organizer_for_accept,
  response_code::error_calendar_is_organizer_for_decline,
  response_code::error_calendar_is_organizer_for_remove,
  response_code::error_calendar_is_organizer_for_tentative,
  response_code::error_calendar_meeting_request_is_out_of_date,
  response_code::error_calendar_occurrence_index_is_out_of_recurrence_range,
  response_code::error_calendar_occurrence_is_deleted_from_recurrence,
  response_code::error_calendar_out_of_range,
  response_code::error_calendar_view_range_too_big,
  response_code::error_caller_is_invalid_ad_account,
  response_code::error_cannot_archive_calendar_contact_task_folder_exception,
  response_code::error_cannot_archive_items_in_public_folders,
  response_code::error_cannot_archive_items_in_archive_mailbox,
  response_code::error_cannot_create_calendar_item_in_non_calendar_folder,
  response_code::error_cannot_create_contact_in_non_contact_folder,
  response_code::error_cannot_create_post_item_in_non_mail_folder,
  response_code::error_cannot_create_task_in_non_task_folder,
  response_code::error_cannot_delete_object,
  response_code::error_cannot_delete_task_occurrence,
  response_code::error_cannot_disable_mandatory_extension,
  response_code::error_cannot_empty_folder,
  response_code::error_cannot_get_source_folder_path,
  response_code::error_cannot_get_external_ecp_url,
  response_code::error_cannot_open_file_attachment,
  response_code::error_cannot_set_calendar_permission_on_non_calendar_folder,
  response_code::error_cannot_set_non_calendar_permission_on_calendar_folder,
  response_code::error_cannot_set_permission_unknown_entries,
  response_code::error_cannot_specify_search_folder_as_source_folder,
  response_code::error_cannot_use_folder_id_for_item_id,
  response_code::error_cannot_use_item_id_for_folder_id,
  response_code::error_change_key_required,
  response_code::error_change_key_required_for_write_operations,
  response_code::error_client_disconnected,
  response_code::error_client_intent_invalid_state_definition,
  response_code::error_client_intent_not_found,
  response_code::error_connection_failed,
  response_code::error_contains_filter_wrong_type,
  response_code::error_content_conversion_failed,
  response_code::error_content_indexing_not_enabled,
  response_code::error_corrupt_data,
  response_code::error_create_item_access_denied,
  response_code::error_create_managed_folder_partial_completion,
  response_code::error_create_subfolder_access_denied,
  response_code::error_cross_mailbox_move_copy,
  response_code::error_cross_site_request,
  response_code::error_data_size_limit_exceeded,
  response_code::error_data_source_operation,
  response_code::error_delegate_already_exists,
  response_code::error_delegate_cannot_add_owner,
  response_code::error_delegate_missing_configuration,
  response_code::error_delegate_no_user,
  response_code::error_delegate_validation_failed,
  response_code::error_delete_distinguished_folder,
  response_code::error_delete_items_failed,
  response_code::error_delete_unified_messaging_prompt_failed,
  response_code::error_distinguished_user_not_supported,
  response_code::error_distribution_list_member_not_exist,
  response_code::error_duplicate_input_folder_names,
  response_code::error_duplicate_user_ids_specified,
  response_code::error_email_address_mismatch,
  response_code::error_event_not_found,
  response_code::error_exceeded_connection_count,
  response_code::error_exceeded_subscription_count,
  response_code::error_exceeded_find_count_limit,
  response_code::error_expired_subscription,
  response_code::error_extension_not_found,
  response_code::error_folder_corrupt,
  response_code::error_folder_exists,
  response_code::error_folder_not_found,
  response_code::error_folder_property_request_failed,
  response_code::error_folder_save,
  response_code::error_folder_save_failed,
  response_code::error_folder_save_property_error,
  response_code::error_free_busy_dl_limit_reached,
  response_code::error_free_busy_generation_failed,
  response_code::error_get_server_security_descriptor_failed,
  response_code::error_im_contact_limit_reached,
  response_code::error_im_group_display_name_already_exists,
  response_code::error_im_group_limit_reached,
  response_code::error_impersonate_user_denied,
  response_code::error_impersonation_denied,
  response_code::error_impersonation_failed,
  response_code::error_incorrect_schema_version,
  response_code::error_incorrect_update_property_count,
  response_code::error_individual_mailbox_limit_reached,
  response_code::error_insufficient_resources,
  response_code::error_internal_server_error,
  response_code::error_internal_server_transient_error,
  response_code::error_invalid_access_level,
  response_code::error_invalid_argument,
  response_code::error_invalid_attachment_id,
  response_code::error_invalid_attachment_subfilter,
  response_code::error_invalid_attachment_subfilter_text_filter,
  response_code::error_invalid_authorization_context,
  response_code::error_invalid_change_key,
  response_code::error_invalid_client_security_context,
  response_code::error_invalid_complete_date,
  response_code::error_invalid_contact_email_address,
  response_code::error_invalid_contact_email_index,
  response_code::error_invalid_cross_forest_credentials,
  response_code::error_invalid_delegate_permission,
  response_code::error_invalid_delegate_user_id,
  response_code::error_invalid_exchange_impersonation_header_data,
  response_code::error_invalid_excludes_restriction,
  response_code::error_invalid_expression_type_for_sub_filter,
  response_code::error_invalid_extended_property,
  response_code::error_invalid_extended_property_value,
  response_code::error_invalid_external_sharing_initiator,
  response_code::error_invalid_external_sharing_subscriber,
  response_code::error_invalid_federated_organization_id,
  response_code::error_invalid_folder_id,
  response_code::error_invalid_folder_type_for_operation,
  response_code::error_invalid_fractional_paging_parameters,
  response_code::error_invalid_get_sharing_folder_request,
  response_code::error_invalid_free_busy_view_type,
  response_code::error_invalid_id,
  response_code::error_invalid_id_empty,
  response_code::error_invalid_like_request,
  response_code::error_invalid_id_malformed,
  response_code::error_invalid_id_malformed_ews_legacy_id_format,
  response_code::error_invalid_id_moniker_too_long,
  response_code::error_invalid_id_not_an_item_attachment_id,
  response_code::error_invalid_id_returned_by_resolve_names,
  response_code::error_invalid_id_store_object_id_too_long,
  response_code::error_invalid_id_too_many_attachment_levels,
  response_code::error_invalid_id_xml,
  response_code::error_invalid_im_contact_id,
  response_code::error_invalid_im_distribution_group_smtp_address,
  response_code::error_invalid_im_group_id,
  response_code::error_invalid_indexed_paging_parameters,
  response_code::error_invalid_internet_header_child_nodes,
  response_code::error_invalid_item_for_operation_archive_item,
  response_code::error_invalid_item_for_operation_accept_item,
  response_code::error_invalid_item_for_operation_cancel_item,
  response_code::error_invalid_item_for_operation_create_item_attachment,
  response_code::error_invalid_item_for_operation_create_item,
  response_code::error_invalid_item_for_operation_decline_item,
  response_code::error_invalid_item_for_operation_expand_dl,
  response_code::error_invalid_item_for_operation_remove_item,
  response_code::error_invalid_item_for_operation_send_item,
  response_code::error_invalid_item_for_operation_tentative,
  response_code::error_invalid_logon_type,
  response_code::error_invalid_mailbox,
  response_code::error_invalid_managed_folder_property,
  response_code::error_invalid_managed_folder_quota,
  response_code::error_invalid_managed_folder_size,
  response_code::error_invalid_merged_free_busy_interval,
  response_code::error_invalid_name_for_name_resolution,
  response_code::error_invalid_network_service_context,
  response_code::error_invalid_oof_parameter,
  response_code::error_invalid_operation,
  response_code::error_invalid_organization_relationship_for_free_busy,
  response_code::error_invalid_paging_max_rows,
  response_code::error_invalid_parent_folder,
  response_code::error_invalid_percent_complete_value,
  response_code::error_invalid_permission_settings,
  response_code::error_invalid_phone_call_id,
  response_code::error_invalid_phone_number,
  response_code::error_invalid_property_append,
  response_code::error_invalid_property_delete,
  response_code::error_invalid_property_for_exists,
  response_code::error_invalid_property_for_operation,
  response_code::error_invalid_property_request,
  response_code::error_invalid_property_set,
  response_code::error_invalid_property_update_sent_message,
  response_code::error_invalid_proxy_security_context,
  response_code::error_invalid_pull_subscription_id,
  response_code::error_invalid_push_subscription_url,
  response_code::error_invalid_recipients,
  response_code::error_invalid_recipient_subfilter,
  response_code::error_invalid_recipient_subfilter_comparison,
  response_code::error_invalid_recipient_subfilter_order,
  response_code::error_invalid_recipient_subfilter_text_filter,
  response_code::error_invalid_reference_item,
  response_code::error_invalid_request,
  response_code::error_invalid_restriction,
  response_code::error_invalid_retention_tag_type_mismatch,
  response_code::error_invalid_retention_tag_invisible,
  response_code::error_invalid_retention_tag_inheritance,
  response_code::error_invalid_retention_tag_id_guid,
  response_code::error_invalid_routing_type,
  response_code::error_invalid_scheduled_oof_duration,
  response_code::error_invalid_schema_version_for_mailbox_version,
  response_code::error_invalid_security_descriptor,
  response_code::error_invalid_send_item_save_settings,
  response_code::error_invalid_serialized_access_token,
  response_code::error_invalid_sharing_data,
  response_code::error_invalid_sharing_message,
  response_code::error_invalid_sid,
  response_code::error_invalid_sip_uri,
  response_code::error_invalid_server_version,
  response_code::error_invalid_smtp_address,
  response_code::error_invalid_subfilter_type,
  response_code::error_invalid_subfilter_type_not_attendee_type,
  response_code::error_invalid_subfilter_type_not_recipient_type,
  response_code::error_invalid_subscription,
  response_code::error_invalid_subscription_request,
  response_code::error_invalid_sync_state_data,
  response_code::error_invalid_time_interval,
  response_code::error_invalid_user_info,
  response_code::error_invalid_user_oof_settings,
  response_code::error_invalid_user_principal_name,
  response_code::error_invalid_user_sid,
  response_code::error_invalid_user_sid_missing_upn,
  response_code::error_invalid_value_for_property,
  response_code::error_invalid_watermark,
  response_code::error_ip_gateway_not_found,
  response_code::error_irresolvable_conflict,
  response_code::error_item_corrupt,
  response_code::error_item_not_found,
  response_code::error_item_property_request_failed,
  response_code::error_item_save,
  response_code::error_item_save_property_error,
  response_code::error_legacy_mailbox_free_busy_view_type_not_merged,
  response_code::error_local_server_object_not_found,
  response_code::error_logon_as_network_service_failed,
  response_code::error_mailbox_configuration,
  response_code::error_mailbox_data_array_empty,
  response_code::error_mailbox_data_array_too_big,
  response_code::error_mailbox_failover,
  response_code::error_mailbox_hold_not_found,
  response_code::error_mailbox_logon_failed,
  response_code::error_mailbox_move_in_progress,
  response_code::error_mailbox_store_unavailable,
  response_code::error_mail_recipient_not_found,
  response_code::error_mail_tips_disabled,
  response_code::error_managed_folder_already_exists,
  response_code::error_managed_folder_not_found,
  response_code::error_managed_folders_root_failure,
  response_code::error_meeting_suggestion_generation_failed,
  response_code::error_message_disposition_required,
  response_code::error_message_size_exceeded,
  response_code::error_message_tracking_no_such_domain,
  response_code::error_message_tracking_permanent_error,
  response_code::_error_message_tracking_transient_error,
  response_code::error_mime_content_conversion_failed,
  response_code::error_mime_content_invalid,
  response_code::error_mime_content_invalid_base64_string,
  response_code::error_missing_argument,
  response_code::error_missing_email_address,
  response_code::error_missing_email_address_for_managed_folder,
  response_code::error_missing_information_email_address,
  response_code::error_missing_information_reference_item_id,
  response_code::error_missing_item_for_create_item_attachment,
  response_code::error_missing_managed_folder_id,
  response_code::error_missing_recipients,
  response_code::error_missing_user_id_information,
  response_code::error_more_than_one_access_mode_specified,
  response_code::error_move_copy_failed,
  response_code::error_move_distinguished_folder,
  response_code::error_multi_legacy_mailbox_access,
  response_code::error_name_resolution_multiple_results,
  response_code::error_name_resolution_no_mailbox,
  response_code::error_name_resolution_no_results,
  response_code::error_no_applicable_proxy_cas_servers_available,
  response_code::error_no_calendar,
  response_code::error_no_destination_cas_due_to_kerberos_requirements,
  response_code::error_no_destination_cas_due_to_ssl_requirements,
  response_code::error_no_destination_cas_due_to_version_mismatch,
  response_code::error_no_folder_class_override,
  response_code::error_no_free_busy_access,
  response_code::error_non_existent_mailbox,
  response_code::error_non_primary_smtp_address,
  response_code::error_no_property_tag_for_custom_properties,
  response_code::error_no_public_folder_replica_available,
  response_code::error_no_public_folder_server_available,
  response_code::error_no_responding_cas_in_destination_site,
  response_code::error_not_allowed_external_sharing_by_policy,
  response_code::error_not_delegate,
  response_code::error_not_enough_memory,
  response_code::error_not_supported_sharing_message,
  response_code::error_object_type_changed,
  response_code::error_occurrence_crossing_boundary,
  response_code::error_occurrence_time_span_too_big,
  response_code::error_operation_not_allowed_with_public_folder_root,
  response_code::error_organization_not_federated,
  response_code::error_parent_folder_id_required,
  response_code::error_parent_folder_not_found,
  response_code::error_password_change_required,
  response_code::error_password_expired,
  response_code::error_permission_not_allowed_by_policy,
  response_code::error_phone_number_not_dialable,
  response_code::error_property_update,
  response_code::error_prompt_publishing_operation_failed,
  response_code::error_property_validation_failure,
  response_code::error_proxied_subscription_call_failure,
  response_code::error_proxy_call_failed,
  response_code::error_proxy_group_sid_limit_exceeded,
  response_code::error_proxy_request_not_allowed,
  response_code::error_proxy_request_processing_failed,
  response_code::error_proxy_service_discovery_failed,
  response_code::error_proxy_token_expired,
  response_code::error_public_folder_mailbox_discovery_failed,
  response_code::error_public_folder_operation_failed,
  response_code::error_public_folder_request_processing_failed,
  response_code::error_public_folder_server_not_found,
  response_code::error_public_folder_sync_exception,
  response_code::error_query_filter_too_long,
  response_code::error_quota_exceeded,
  response_code::error_read_events_failed,
  response_code::error_read_receipt_not_pending,
  response_code::error_recurrence_end_date_too_big,
  response_code::error_recurrence_has_no_occurrence,
  response_code::error_remove_delegates_failed,
  response_code::error_request_aborted,
  response_code::error_request_stream_too_big,
  response_code::error_required_property_missing,
  response_code::error_resolve_names_invalid_folder_type,
  response_code::error_resolve_names_only_one_contacts_folder_allowed,
  response_code::error_response_schema_validation,
  response_code::error_restriction_too_long,
  response_code::error_restriction_too_complex,
  response_code::error_result_set_too_big,
  response_code::error_saved_item_folder_not_found,
  response_code::error_schema_validation,
  response_code::error_search_folder_not_initialized,
  response_code::error_send_as_denied,
  response_code::error_send_meeting_cancellations_required,
  response_code::error_send_meeting_invitations_or_cancellations_required,
  response_code::error_send_meeting_invitations_required,
  response_code::error_sent_meeting_request_update,
  response_code::error_sent_task_request_update,
  response_code::error_server_busy,
  response_code::error_service_discovery_failed,
  response_code::error_sharing_no_external_ews_available,
  response_code::error_stale_object,
  response_code::error_submission_quota_exceeded,
  response_code::error_subscription_access_denied,
  response_code::error_subscription_delegate_access_not_supported,
  response_code::error_subscription_not_found,
  response_code::error_subscription_unsubscribed,
  response_code::error_sync_folder_not_found,
  response_code::error_team_mailbox_not_found,
  response_code::error_team_mailbox_not_linked_to_share_point,
  response_code::error_team_mailbox_url_validation_failed,
  response_code::error_team_mailbox_not_authorized_owner,
  response_code::error_team_mailbox_active_to_pending_delete,
  response_code::error_team_mailbox_failed_sending_notifications,
  response_code::error_team_mailbox_error_unknown,
  response_code::error_time_interval_too_big,
  response_code::error_timeout_expired,
  response_code::error_time_zone,
  response_code::error_to_folder_not_found,
  response_code::error_token_serialization_denied,
  response_code::error_too_many_objects_opened,
  response_code::error_unified_messaging_dial_plan_not_found,
  response_code::error_unified_messaging_report_data_not_found,
  response_code::error_unified_messaging_prompt_not_found,
  response_code::error_unified_messaging_request_failed,
  response_code::error_unified_messaging_server_not_found,
  response_code::error_unable_to_get_user_oof_settings,
  response_code::error_unable_to_remove_im_contact_from_group,
  response_code::error_unsupported_culture,
  response_code::error_unsupported_mapi_property_type,
  response_code::error_unsupported_mime_conversion,
  response_code::error_unsupported_path_for_query,
  response_code::error_unsupported_path_for_sort_group,
  response_code::error_unsupported_property_definition,
  response_code::error_unsupported_query_filter,
  response_code::error_unsupported_recurrence,
  response_code::error_unsupported_sub_filter,
  response_code::error_unsupported_type_for_conversion,
  response_code::error_update_delegates_failed,
  response_code::error_update_property_mismatch,
  response_code::error_user_not_unified_messaging_enabled,
  response_code::error_user_not_allowed_by_policy,
  response_code::error_user_without_federated_proxy_address,
  response_code::error_value_out_of_range,
  response_code::error_virus_detected,
  response_code::error_virus_message_deleted,
  response_code::error_voice_mail_not_implemented,
  response_code::error_web_request_in_invalid_state,
  response_code::error_win32_interop_error,
  response_code::error_working_hours_save_failed,
  response_code::error_working_hours_xml_malformed,
  response_code::error_wrong_server_version,
  response_code::error_wrong_server_version_delegate,
  response_code::error_missing_information_sharing_folder_id,
  response_code::error_duplicate_soap_header,
  response_code::error_sharing_synchronization_failed,
  response_code::error_message_tracking_transient_error,
  response_code::error_apply_conversation_action_failed,
  response_code::error_inbox_rules_validation_error,
  response_code::error_outlook_rule_blob_exists,
  response_code::error_rules_over_quota,
  response_code::error_new_event_stream_connection_opened,
  response_code::error_missed_notification_events,
  response_code::error_duplicate_legacy_distinguished_name,
  response_code::error_invalid_client_access_token_request,
  response_code::error_no_speech_detected,
  response_code::error_um_server_unavailable,
  response_code::error_recipient_not_found,
  response_code::error_recognizer_not_installed,
  response_code::error_speech_grammar_error,
  response_code::error_invalid_management_role_header,
  response_code::error_location_services_disabled,
  response_code::error_location_services_request_timed_out,
  response_code::error_location_services_request_failed,
  response_code::error_location_services_invalid_request,
  response_code::error_weather_service_disabled,
  response_code::error_mailbox_scope_not_allowed_without_query_string,
  response_code::error_archive_mailbox_search_failed,
  response_code::error_archive_mailbox_service_discovery_failed,
  response_code::error_get_remote_archive_folder_failed,
  response_code::error_find_remote_archive_folder_failed,
  response_code::error_get_remote_archive_item_failed,
  response_code::error_export_remote_archive_items_failed,
  response_code::error_invalid_photo_size,
  response_code::error_search_query_has_too_many_keywords,
  response_code::error_search_too_many_mailboxes,
  response_code::error_invalid_retention_tag_none,
  response_code::error_discovery_searches_disabled,
  response_code::error_calendar_seek_to_condition_not_supported,
  response_code::error_calendar_is_group_mailbox_for_accept,
  response_code::error_calendar_is_group_mailbox_for_decline,
  response_code::error_calendar_is_group_mailbox_for_tentative,
  response_code::error_calendar_is_group_mailbox_for_suppress_read_receipt,
  response_code::error_organization_access_blocked,
  response_code::error_invalid_license,
  response_code::error_message_per_folder_count_receive_quota_exceeded
}
 Response code enum describes status information about a request. More...
 
enum  response_type {
  response_type::unknown,
  response_type::organizer,
  response_type::tentative,
  response_type::accept,
  response_type::decline,
  response_type::no_response_received
}
 The ResponseType element represents the type of recipient response that is received for a meeting. More...
 
enum  search_scope {
  search_scope::active_directory,
  search_scope::active_directory_contacts,
  search_scope::contacts,
  search_scope::contacts_active_directory
}
 Identifies the order and scope for a ResolveNames search. More...
 
enum  send_meeting_cancellations {
  send_meeting_cancellations::send_to_none,
  send_meeting_cancellations::send_only_to_all,
  send_meeting_cancellations::send_to_all_and_save_copy
}
 Describes how a meeting will be canceled. More...
 
enum  send_meeting_invitations_or_cancellations {
  send_meeting_invitations_or_cancellations::send_to_none,
  send_meeting_invitations_or_cancellations::send_only_to_all,
  send_meeting_invitations_or_cancellations::send_only_to_changed,
  send_meeting_invitations_or_cancellations::send_to_all_and_save_copy,
  send_meeting_invitations_or_cancellations::send_to_changed_and_save_copy
}
 Describes how attendees will be updated when a meeting changes. More...
 
enum  sensitivity {
  sensitivity::normal,
  sensitivity::personal,
  sensitivity::priv,
  sensitivity::confidential
}
 This enumeration indicates the sensitivity of an item. More...
 
enum  server_version {
  server_version::exchange_2007,
  server_version::exchange_2007_sp1,
  server_version::exchange_2010,
  server_version::exchange_2010_sp1,
  server_version::exchange_2010_sp2,
  server_version::exchange_2013,
  server_version::exchange_2013_sp1
}
 Defines the different values for the <RequestServerVersion> element. More...
 
enum  ssl_options : long {
  none = 0L,
  allow_beast = CURLSSLOPT_ALLOW_BEAST
}
 
enum  standard_folder {
  standard_folder::calendar,
  standard_folder::contacts,
  standard_folder::deleted_items,
  standard_folder::drafts,
  standard_folder::inbox,
  standard_folder::journal,
  standard_folder::notes,
  standard_folder::outbox,
  standard_folder::sent_items,
  standard_folder::tasks,
  standard_folder::msg_folder_root,
  standard_folder::root,
  standard_folder::junk_email,
  standard_folder::search_folders,
  standard_folder::voice_mail,
  standard_folder::recoverable_items_root,
  standard_folder::recoverable_items_deletions,
  standard_folder::recoverable_items_versions,
  standard_folder::recoverable_items_purges,
  standard_folder::archive_root,
  standard_folder::archive_msg_folder_root,
  standard_folder::archive_deleted_items,
  standard_folder::archive_inbox,
  standard_folder::archive_recoverable_items_root,
  standard_folder::archive_recoverable_items_deletions,
  standard_folder::archive_recoverable_items_versions,
  standard_folder::archive_recoverable_items_purges,
  standard_folder::sync_issues,
  standard_folder::conflicts,
  standard_folder::local_failures,
  standard_folder::server_failures,
  standard_folder::recipient_cache,
  standard_folder::quick_contacts,
  standard_folder::conversation_history,
  standard_folder::admin_audit_logs,
  standard_folder::todo_search,
  standard_folder::my_contacts,
  standard_folder::directory,
  standard_folder::im_contact_list,
  standard_folder::people_connect,
  standard_folder::favorites
}
 Well known folder names enumeration. Usually rendered to XML as <DistinguishedFolderId> element. More...
 
enum  status {
  status::not_started,
  status::in_progress,
  status::completed,
  status::waiting_on_others,
  status::deferred
}
 Specifies the status of a task item. More...
 
enum  time_zone {
  none,
  dateline_standard_time,
  utc_minus_11,
  aleutian_standard_time,
  hawaiian_standard_time,
  marquesas_standard_time,
  alaskan_standard_time,
  utc_minus_09,
  pacific_standard_time_mexico,
  utc_minus_08,
  pacific_standard_time,
  us_mountain_standard_time,
  mountain_standard_time_mexico,
  mountain_standard_time,
  central_america_standard_time,
  central_standard_time,
  easter_island_standard_time,
  central_standard_time_mexico,
  canada_central_standard_time,
  sa_pacific_standard_time,
  eastern_standard_time_mexico,
  eastern_standard_time,
  haiti_standard_time,
  cuba_standard_time,
  us_eastern_standard_time,
  turks_and_caicos_standard_time,
  paraguay_standard_time,
  atlantic_standard_time,
  venezuela_standard_time,
  central_brazilian_standard_time,
  sa_western_standard_time,
  pacific_sa_standard_time,
  newfoundland_standard_time,
  tocantins_standard_time,
  e_south_america_standard_time,
  sa_eastern_standard_time,
  argentina_standard_time,
  greenland_standard_time,
  montevideo_standard_time,
  magallanes_standard_time,
  saint_pierre_standard_time,
  bahia_standard_time,
  utc_minus_02,
  mid_minus_atlantic_standard_time,
  azores_standard_time,
  cape_verde_standard_time,
  utc,
  morocco_standard_time,
  gmt_standard_time,
  greenwich_standard_time,
  w_europe_standard_time,
  central_europe_standard_time,
  romance_standard_time,
  central_european_standard_time,
  w_central_africa_standard_time,
  jordan_standard_time,
  gtb_standard_time,
  middle_east_standard_time,
  egypt_standard_time,
  e_europe_standard_time,
  syria_standard_time,
  west_bank_standard_time,
  south_africa_standard_time,
  fle_standard_time,
  israel_standard_time,
  kaliningrad_standard_time,
  sudan_standard_time,
  libya_standard_time,
  namibia_standard_time,
  arabic_standard_time,
  turkey_standard_time,
  arab_standard_time,
  belarus_standard_time,
  russian_standard_time,
  e_africa_standard_time,
  iran_standard_time,
  arabian_standard_time,
  astrakhan_standard_time,
  azerbaijan_standard_time,
  russia_time_zone_3,
  mauritius_standard_time,
  saratov_standard_time,
  georgian_standard_time,
  caucasus_standard_time,
  afghanistan_standard_time,
  west_asia_standard_time,
  ekaterinburg_standard_time,
  pakistan_standard_time,
  india_standard_time,
  sri_lanka_standard_time,
  nepal_standard_time,
  central_asia_standard_time,
  bangladesh_standard_time,
  omsk_standard_time,
  myanmar_standard_time,
  se_asia_standard_time,
  altai_standard_time,
  w_mongolia_standard_time,
  north_asia_standard_time,
  n_central_asia_standard_time,
  tomsk_standard_time,
  china_standard_time,
  north_asia_east_standard_time,
  singapore_standard_time,
  w_australia_standard_time,
  taipei_standard_time,
  ulaanbaatar_standard_time,
  north_korea_standard_time,
  aus_central_w_standard_time,
  transbaikal_standard_time,
  tokyo_standard_time,
  korea_standard_time,
  yakutsk_standard_time,
  cen_australia_standard_time,
  aus_central_standard_time,
  e_australia_standard_time,
  aus_eastern_standard_time,
  west_pacific_standard_time,
  tasmania_standard_time,
  vladivostok_standard_time,
  lord_howe_standard_time,
  bougainville_standard_time,
  russia_time_zone_10,
  magadan_standard_time,
  norfolk_standard_time,
  sakhalin_standard_time,
  central_pacific_standard_time,
  russia_time_zone_11,
  new_zealand_standard_time,
  utc_plus_12,
  fiji_standard_time,
  kamchatka_standard_time,
  chatham_islands_standard_time,
  utc_plus_13,
  tonga_standard_time,
  samoa_standard_time,
  line_islands_standard_time
}
 Represents the unique identifiers of the time zones. These IDs are specific to windows and differ from the ISO time zone names.
 

Functions

template<typename RequestHandler >
autodiscover_result get_exchange_web_services_url (const std::string &user_smtp_address, const basic_credentials &credentials)
 Returns the EWS URL by querying the Autodiscover service. More...
 
template<typename RequestHandler >
autodiscover_result get_exchange_web_services_url (const std::string &user_smtp_address, const basic_credentials &credentials, const autodiscover_hints &hints)
 Returns the EWS URL by querying the Autodiscover service. More...
 
bool operator!= (const ssl_options lhs, const ssl_options rhs)
 
bool operator== (const date_time &lhs, const date_time &rhs)
 
bool operator== (const duration &lhs, const duration &rhs)
 
bool operator== (const email_address &lhs, const email_address &rhs)
 
bool operator== (const physical_address &lhs, const physical_address &rhs)
 
bool operator== (const im_address &lhs, const im_address &rhs)
 
bool operator== (const phone_number &lhs, const phone_number &rhs)
 
bool operator== (const property_path &lhs, const property_path &rhs)
 
bool operator== (const ssl_options lhs, const ssl_options rhs)
 
ssl_options operator| (const ssl_options lhs, const ssl_options rhs)
 
void set_up () EWS_NOEXCEPT
 
void tear_down () EWS_NOEXCEPT
 

Detailed Description

Contains all classes, functions, and enumerations of this library.

Typedef Documentation

A xs:date formatted string.

Exactly the same type as date_time. Used to indicate that an API expects a date without a time value

Enumeration Type Documentation

Indicates which occurrences of a recurring series should be deleted.

Enumerator
all_occurrences 

Apply an operation to all occurrences in the series.

specified_occurrence_only 

Apply an operation only to the specified occurrence.

enum ews::base_shape
strong

Specifies the set of properties that a GetItem or GetFolder method call will return.

Enumerator
id_only 

Return only the item or folder ID.

default_shape 

Return the default set of properties.

all_properties 

Return (nearly) all properties.

Note that some properties still need to be explicitly requested as additional properties.

enum ews::body_type
strong

Specifies the type of a <Body> element.

Enumerator
best 

The response will return the richest available content.

This is useful if it is unknown whether the content is text or HTML. The returned body will be text if the stored body is plain-text. Otherwise, the response will return HTML if the stored body is in either HTML or RTF format. This is usually the default value.

plain_text 

The response will return an item body as plain-text.

html 

The response will return an item body as HTML.

The CalendarItemType class represents an Exchange calendar item.

Enumerator
single 

The item is not associated with a recurring calendar item; default for new calendar items

occurrence 

The item is an occurrence of a recurring calendar item.

exception 

The item is an exception to a recurring calendar item.

recurring_master 

The item is master for a set of recurring calendar items.

The type of conflict resolution to try during an UpdateItem method call.

The default value is AutoResolve.

Enumerator
never_overwrite 

If there is a conflict, the update operation fails and an error is returned. The call to update_item never overwrites data that has changed underneath you!

auto_resolve 

The update operation automatically resolves any conflict (if it can, otherwise the request fails)

always_overwrite 

If there is a conflict, the update operation will overwrite information. Ignores changes that occurred underneath you; last writer wins!

This enumeration determines how case and non-spacing characters are considered when evaluating a text search expression.

See also
contains
Enumerator
exact 

The strings must exactly be the same.

ignore_case 

The comparison is case-insensitive.

ignore_non_spacing_characters 

Non-spacing characters will be ignored during comparison.

loose 

This is containment_comparison::ignore_case and containment_comparison::ignore_non_spacing_characters

enum ews::containment_mode
strong

Specifies which parts of a text value are compared to a supplied constant value.

See also
contains
Enumerator
full_string 

The comparison is between the full string and the constant.

The property value and the supplied constant are exactly the same.

prefixed 

The comparison is between the string prefix and the constant.

substring 

The comparison is between a sub-string of the string and the constant.

prefix_on_words 

The comparison is between a prefix on individual words in the string and the constant.

exact_phrase 

The comparison is between an exact phrase in the string and the constant.

enum ews::day_of_week
strong

Describes working days.

Enumerator
sun 

Sunday.

mon 

Monday.

tue 

Tuesday.

wed 

Wednesday.

thu 

Thursday.

fri 

Friday.

sat 

Saturday.

day 

Any day.

weekday 

A weekday.

weekend_day 

A day weekend.

This element describes which week in a month is used in a relative recurrence pattern.

For example, the second Monday of a month may occur in the third week of that month. If a month starts on a Friday, the first week of the month only contains a few days and does not contain a Monday. Therefore, the first Monday would have to occur in the second week.

Enumerator
first 

The first occurrence of a day within a month.

second 

The second occurrence of a day within a month.

third 

The third occurrence of a day within a month.

fourth 

The fourth occurrence of a day within a month.

last 

The last occurrence of a day within a month.

enum ews::delegation_state
strong

Describes the state of a delegated task.

Values indicate whether the delegated task was accepted or not.

Enumerator
no_match 

The task is not a delegated task, or the task request has been created but not sent.

own_new 

The task is new and the request has been sent, but the delegate has no yet responded to the task.

owned 

Should not be used.

accepted 

The task was accepted by the delegate.

declined 

The task was declined by the delegate.

max 

Should not be used.

enum ews::delete_type
strong

Describes how items are deleted from the Exchange store.

Side note: we do not provide SoftDelete because that does not make much sense from an EWS perspective.

Enumerator
hard_delete 

The item is removed immediately from the user's mailbox.

move_to_deleted_items 

The item is moved to a dedicated "Trash" folder.

enum ews::free_busy_status
strong

Gets the free/busy status that is associated with the event.

Enumerator
free 

The time slot is open for other events.

tentative 

The time slot is potentially filled.

busy 

The time slot is filled and attempts by others to schedule a meeting for this time period should be avoided by an application

out_of_office 

The user is out-of-office and may not be able to respond to meeting invitations for new events that occur in the time slot

no_data 

Status is undetermined. You should not explicitly set this. However the Exchange store might return this value

working_elsewhere 

The time slot associated with the appointment appears as working elsewhere. The WorkingElsewhere field is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

enum ews::importance
strong

This enumeration indicates the importance of an item.

Valid values are Low, Normal, High.

Enumerator
low 

Low importance.

normal 

Normal importance.

high 

High importance.

<CreateItem> and <UpdateItem> methods use this attribute. Only applicable to email messages

Enumerator
save_only 

Save the message in a specified folder or in the Drafts folder if none is given

send_only 

Send the message and do not save a copy in the sender's mailbox.

send_and_save_copy 

Send the message and save a copy in a specified folder or in the mailbox owner's Sent Items folder if none is given

enum ews::month
strong

Describes the month when a yearly recurring item occurs.

Enumerator
jan 

January.

feb 

February.

mar 

March.

apr 

April.

may 

May.

june 

June.

july 

July.

aug 

August.

sept 

September.

oct 

October.

nov 

November.

dec 

December.

Defines the base point for paged searches with <FindItem> and <FindFolder>.

Enumerator
beginning 

The paged view starts at the beginning of the found conversation or item set.

end 

The paged view starts at the end of the found conversation or item set.

enum ews::response_class
strong

The ResponseClass attribute of a ResponseMessage.

Enumerator
error 

An error has occurred.

success 

Everything went fine.

warning 

Something strange but not fatal happened.

enum ews::response_code
strong

Response code enum describes status information about a request.

Enumerator
no_error 

No error occurred for the request.

error_access_denied 

This error occurs when the calling account does not have the rights to perform the requested action.

error_access_mode_specified 

This error is for internal use only. This error is not returned.

error_account_disabled 

This error occurs when the account in question has been disabled.

error_add_delegates_failed 

This error occurs when a list with added delegates cannot be saved.

error_address_space_not_found 

This error occurs when the address space record, or Domain Name System (DNS) domain name, for cross-forest availability could not be found in the Active Directory database.

error_ad_operation 

This error occurs when the operation failed because of communication problems with Active Directory Domain Services (AD DS).

error_ad_session_filter 

This error is returned when a ResolveNames operation request specifies a name that is not valid.

error_ad_unavailable 

This error occurs when AD DS is unavailable. Try your request again later.

error_affected_task_occurrences_required 

This error indicates that the AffectedTaskOccurrences attribute was not specified. When the DeleteItem element is used to delete at least one item that is a task, and regardless of whether that task is recurring or not, the AffectedTaskOccurrences attribute has to be specified so that DeleteItem can determine whether to delete the current occurrence or the entire series.

error_archive_folder_path_creation 

Indicates an error in archive folder path creation.

error_archive_mailbox_not_enabled 

Indicates that the archive mailbox was not enabled.

error_attachment_nest_level_limit_exceeded 

Specifies that an attempt was made to create an item with more than 10 nested attachments. This value was introduced in Exchange Server 2010 Service Pack 2 (SP2).

error_attachment_size_limit_exceeded 

The CreateAttachment element returns this error if an attempt is made to create an attachment with size exceeding Int32.MaxValue, in bytes.

The GetAttachment element returns this error if an attempt to retrieve an existing attachment with size exceeding Int32.MaxValue, in bytes.

error_auto_discover_failed 

This error indicates that Exchange Web Services tried to determine the location of a cross-forest computer that is running Exchange 2010 that has the Client Access server role installed by using the Autodiscover service, but the call to the Autodiscover service failed.

error_availability_config_not_found 

This error indicates that the availability configuration information for the local forest is missing from AD DS.

error_batch_processing_stopped 

This error indicates that an exception occurred while processing an item and that exception is likely to occur for the items that follow. Requests may include multiple items; for example, a GetItem operation request might include multiple identifiers. In general, items are processed one at a time. If an exception occurs while processing an item and that exception is likely to occur for the items that follow, items that follow will not be processed.

The following are examples of errors that will stop processing for items that follow:

  • ErrorAccessDenied
  • ErrorAccountDisabled
  • ErrorADUnavailable
  • ErrorADOperation
  • ErrorConnectionFailed
  • ErrorMailboxStoreUnavailable
  • ErrorMailboxMoveInProgress
  • ErrorPasswordChangeRequired
  • ErrorPasswordExpired
  • ErrorQuotaExceeded
  • ErrorInsufficientResources
error_calendar_cannot_move_or_copy_occurrence 

This error occurs when an attempt is made to move or copy an occurrence of a recurring calendar item.

error_calendar_cannot_update_deleted_item 

This error occurs when an attempt is made to update a calendar item that is located in the Deleted Items folder and when meeting updates or cancellations are to be sent according to the value of the SendMeetingInvitationsOrCancellations attribute. The following are the possible values for this attribute:

  • SendToAllAndSaveCopy
  • SendToChangedAndSaveCopy
  • SendOnlyToAll
  • SendOnlyToChanged However, such an update is allowed only when the value of this attribute is set to SendToNone.
error_calendar_cannot_use_id_for_occurrence_id 

This error occurs when the UpdateItem, GetItem, DeleteItem, MoveItem, CopyItem, or SendItem operation is called and the ID that was specified is not an occurrence ID of any recurring calendar item.

error_calendar_cannot_use_id_for_recurring_master_id 

This error occurs when the UpdateItem, GetItem, DeleteItem, MoveItem, CopyItem, or SendItem operation is called and the ID that was specified is not an ID of any recurring master item.

error_calendar_duration_is_too_long 

This error occurs during a CreateItem or UpdateItem operation when a calendar item duration is longer than the maximum allowed, which is currently 5 years.

error_calendar_end_date_is_earlier_than_start_date 

This error occurs when a calendar End time is set to the same time or after the Start time.

error_calendar_folder_is_invalid_for_calendar_view 

This error occurs when the specified folder for a FindItem operation with a CalendarView element is not of calendar folder type.

error_calendar_invalid_attribute_value 

This response code is not used.

error_calendar_invalid_day_for_time_change_pattern 

This error occurs during a CreateItem or UpdateItem operation when invalid values of Day, WeekendDay, and Weekday are used to define the time change pattern.

error_calendar_invalid_day_for_weekly_recurrence 

This error occurs during a CreateItem or UpdateItem operation when invalid values of Day, WeekDay, and WeekendDay are used to specify the weekly recurrence.

error_calendar_invalid_property_state 

This error occurs when the state of a calendar item recurrence binary large object (BLOB) in the Exchange store is invalid.

error_calendar_invalid_property_value 

This response code is not used.

error_calendar_invalid_recurrence 

This error occurs when the specified recurrence cannot be created.

error_calendar_invalid_time_zone 

This error occurs when an invalid time zone is encountered.

error_calendar_is_cancelled_for_accept 

This error Indicates that a calendar item has been canceled.

error_calendar_is_cancelled_for_decline 

This error indicates that a calendar item has been canceled.

error_calendar_is_cancelled_for_remove 

This error indicates that a calendar item has been canceled.

error_calendar_is_cancelled_for_tentative 

This error indicates that a calendar item has been canceled.

error_calendar_is_delegated_for_accept 

This error indicates that the AcceptItem element is invalid for a calendar item or meeting request in a delegated scenario.

error_calendar_is_delegated_for_decline 

This error indicates that the DeclineItem element is invalid for a calendar item or meeting request in a delegated scenario.

error_calendar_is_delegated_for_remove 

This error indicates that the RemoveItem element is invalid for a meeting cancellation in a delegated scenario.

error_calendar_is_delegated_for_tentative 

This error indicates that the TentativelyAcceptItem element is invalid for a calendar item or meeting request in a delegated scenario.

error_calendar_is_not_organizer 

This error indicates that the operation (currently CancelItem) on the calendar item is not valid for an attendee. Only the meeting organizer can cancel the meeting.

error_calendar_is_organizer_for_accept 

This error indicates that AcceptItem is invalid for the organizer’s calendar item.

error_calendar_is_organizer_for_decline 

This error indicates that DeclineItem is invalid for the organizer’s calendar item.

error_calendar_is_organizer_for_remove 

This error indicates that RemoveItem is invalid for the organizer’s calendar item. To remove a meeting from the calendar, the organizer must use CancelCalendarItem.

error_calendar_is_organizer_for_tentative 

This error indicates that TentativelyAcceptItem is invalid for the organizer’s calendar item.

error_calendar_meeting_request_is_out_of_date 

This error indicates that a meeting request is out-of-date and cannot be updated.

error_calendar_occurrence_index_is_out_of_recurrence_range 

This error indicates that the occurrence index does not point to an occurrence within the current recurrence. For example, if your recurrence pattern defines a set of three meeting occurrences and you try to access the fifth occurrence, this response code will result.

error_calendar_occurrence_is_deleted_from_recurrence 

This error indicates that any operation on a deleted occurrence (addressed via recurring master ID and occurrence index) is invalid.

error_calendar_out_of_range 

This error is reported on CreateItem and UpdateItem operations for calendar items or task recurrence properties when the property value is out of range. For example, specifying the fifteenth week of the month will result in this response code.

error_calendar_view_range_too_big 

This error occurs when Start to End range for the CalendarView element is more than the maximum allowed, currently 2 years.

error_caller_is_invalid_ad_account 

This error indicates that the requesting account is not a valid account in the directory database.

error_cannot_archive_calendar_contact_task_folder_exception 

Indicates that an attempt was made to archive a calendar contact task folder.

error_cannot_archive_items_in_public_folders 

Indicates that an attempt was made to archive items in public folders.

error_cannot_archive_items_in_archive_mailbox 

Indicates that attempt was made to archive items in the archive mailbox.

error_cannot_create_calendar_item_in_non_calendar_folder 

This error occurs when a calendar item is being created and the SavedItemFolderId attribute refers to a non-calendar folder.

error_cannot_create_contact_in_non_contact_folder 

This error occurs when a contact is being created and the SavedItemFolderId attribute refers to a non-contact folder.

error_cannot_create_post_item_in_non_mail_folder 

This error indicates that a post item cannot be created in a folder other than a mail folder, such as Calendar, Contact, Tasks, Notes, and so on.

error_cannot_create_task_in_non_task_folder 

This error occurs when a task is being created and the SavedItemFolderId attribute refers to a non-task folder.

error_cannot_delete_object 

This error occurs when the item or folder to delete cannot be deleted.

error_cannot_delete_task_occurrence 

The DeleteItem operation returns this error when it fails to delete the current occurrence of a recurring task. This can only happen if the AffectedTaskOccurrences attribute has been set to SpecifiedOccurrenceOnly.

error_cannot_disable_mandatory_extension 

Indicates that an attempt was made to disable a mandatory extension.

error_cannot_empty_folder 

This error must be returned when the server cannot empty a folder.

error_cannot_get_source_folder_path 

Indicates that the source folder path could not be retrieved.

error_cannot_get_external_ecp_url 

Specifies that the server could not retrieve the external URL for Outlook Web App Options.

error_cannot_open_file_attachment 

The GetAttachment operation returns this error if it cannot retrieve the body of a file attachment.

error_cannot_set_calendar_permission_on_non_calendar_folder 

This error indicates that the caller tried to set calendar permissions on a non-calendar folder.

error_cannot_set_non_calendar_permission_on_calendar_folder 

This error indicates that the caller tried to set non-calendar permissions on a calendar folder.

error_cannot_set_permission_unknown_entries 

This error indicates that you cannot set unknown permissions in a permissions set.

error_cannot_specify_search_folder_as_source_folder 

Indicates that an attempt was made to specify the search folder as the source folder.

error_cannot_use_folder_id_for_item_id 

This error occurs when a request that requires an item identifier is given a folder identifier.

error_cannot_use_item_id_for_folder_id 

This error occurs when a request that requires a folder identifier is given an item identifier.

error_change_key_required 

This response code has been replaced by ErrorChangeKeyRequiredForWriteOperations

error_change_key_required_for_write_operations 

This error is returned when the change key for an item is missing or stale. For SendItem, UpdateItem, and UpdateFolder operations, the caller must pass in a correct and current change key for the item. Note that this is the case with UpdateItem even when conflict resolution is set to always overwrite.

error_client_disconnected 

Specifies that the client was disconnected.

error_client_intent_invalid_state_definition 

This error is intended for internal use only.

error_client_intent_not_found 

This error is intended for internal use only.

error_connection_failed 

This error occurs when Exchange Web Services cannot connect to the mailbox.

error_contains_filter_wrong_type 

This error indicates that the property that was inspected for a Contains filter is not a string type.

error_content_conversion_failed 

The GetItem operation returns this error when Exchange Web Services is unable to retrieve the MIME content for the item requested. The CreateItem operation returns this error when Exchange Web Services is unable to create the item from the supplied MIME content. Usually this is an indication that the item property is corrupted or truncated.

error_content_indexing_not_enabled 

This error occurs when a search request is made using the QueryString option and content indexing is not enabled for the target mailbox.

error_corrupt_data 

This error occurs when the data is corrupted and cannot be processed.

error_create_item_access_denied 

This error occurs when the caller does not have permission to create the item.

error_create_managed_folder_partial_completion 

This error occurs when one or more of the managed folders that were specified in the CreateManagedFolder operation request failed to be created. Search for each folder to determine which folders were created and which folders do not exist.

error_create_subfolder_access_denied 

This error occurs when the calling account does not have the permissions required to create the subfolder.

error_cross_mailbox_move_copy 

This error occurs when an attempt is made to move an item or folder from one mailbox to another. If the source mailbox and destination mailbox are different, you will get this error.

error_cross_site_request 

This error indicates that the request is not allowed because the Client Access server that should service the request is in a different site.

error_data_size_limit_exceeded 

This error can occur in the following scenarios:

\li An attempt is made to access or write a property on an item and
the property value is too large.
\li The base64 encoded MIME content length within the request XML
exceeds the limit.
\li The size of the body of an existing item body exceeds the limit.
\li The consumer tries to set an HTML or text body whose length (or
combined length in the case of append) exceeds the limit.  
error_data_source_operation 

This error occurs when the underlying data provider fails to complete the operation.

error_delegate_already_exists 

This error occurs in an AddDelegate operation when the specified user already exists in the list of delegates.

error_delegate_cannot_add_owner 

This error occurs in an AddDelegate operation when the specified user to be added is the owner of the mailbox.

error_delegate_missing_configuration 

This error occurs in a GetDelegate operation when either there is no delegate information on the local FreeBusy message or no Active Directory public delegate (no "public delegate" or no "Send On Behalf" entry in AD DS).

error_delegate_no_user 

This error occurs when a specified user cannot be mapped to a user in AD DS.

error_delegate_validation_failed 

This error occurs in the AddDelegate operation when an added delegate user is not valid.

error_delete_distinguished_folder 

This error occurs when an attempt is made to delete a distinguished folder.

error_delete_items_failed 

This response code is not used.

error_delete_unified_messaging_prompt_failed 

This error is intended for internal use only.

error_distinguished_user_not_supported 

This error indicates that a distinguished user ID is not valid for the operation. DistinguishedUserType should not be present in the request.

error_distribution_list_member_not_exist 

This error indicates that a request distribution list member does not exist in the distribution list.

error_duplicate_input_folder_names 

This error occurs when duplicate folder names are specified within the FolderNames element of the CreateManagedFolder operation request.

error_duplicate_user_ids_specified 

This error indicates that a duplicate user ID has been found in a permission set, either Default or Anonymous are set more than once, or there are duplicate SIDs or recipients.

error_email_address_mismatch 

This error occurs when a request attempts to create/update the search parameters of a search folder. For example, this can occur when a search folder is created in the mailbox but the search folder is directed to look in another mailbox.

error_event_not_found 

This error occurs when the event that is associated with a watermark is deleted before the event is returned. When this error is returned, the subscription is also deleted.

error_exceeded_connection_count 

This error indicates that there are more concurrent requests against the server than are allowed by a user's policy.

error_exceeded_subscription_count 

This error indicates that a user's throttling policy maximum subscription count has been exceeded.

error_exceeded_find_count_limit 

This error indicates that a search operation call has exceeded the total number of items that can be returned.

error_expired_subscription 

This error occurs if the GetEvents operation is called as a subscription is being deleted because it has expired.

error_extension_not_found 

Indicates that the extension was not found.

error_folder_corrupt 

This error occurs when the folder is corrupted and cannot be saved.

error_folder_exists 

This error occurs when an attempt is made to create a folder that has the same name as another folder in the same parent. Duplicate folder names are not allowed.

error_folder_not_found 

This error indicates that the folder ID that was specified does not correspond to a valid folder, or that the delegate does not have permission to access the folder.

error_folder_property_request_failed 

This error indicates that the requested property could not be retrieved. This does not indicate that the property does not exist, but that the property was corrupted in some way so that the retrieval failed.

error_folder_save 

This error indicates that the folder could not be created or updated because of an invalid state.

error_folder_save_failed 

This error indicates that the folder could not be created or updated because of an invalid state.

error_folder_save_property_error 

This error indicates that the folder could not be created or updated because of invalid property values. The response code lists which properties caused the problem.

error_free_busy_dl_limit_reached 

This error indicates that the maximum group member count has been reached for obtaining free/busy information for a distribution list.

error_free_busy_generation_failed 

This error is returned when free/busy information cannot be retrieved because of an intervening failure.

error_get_server_security_descriptor_failed 

This response code is not used.

error_im_contact_limit_reached 

This error is returned when new instant messaging (IM) contacts cannot be added because the maximum number of contacts has been reached. This error was introduced in Exchange Server 2013.

error_im_group_display_name_already_exists 

This error is returned when an attempt is made to add a group display name when an existing group already has the same display name. This error was introduced in Exchange 2013.

error_im_group_limit_reached 

This error is returned when new IM groups cannot be added because the maximum number of groups has been reached. This error was introduced in Exchange 2013.

error_impersonate_user_denied 

The error is returned in the server-to-server authorization case for Exchange Impersonation when the caller does not have the proper rights to impersonate the specific user in question. This error maps to the ms-Exch-EPI-May-Impersonate extended Active Directory right.

error_impersonation_denied 

This error is returned in the server-to-server authorization for Exchange Impersonation when the caller does not have the proper rights to impersonate through the Client Access server that they are making the request against. This maps to the ms-Exch-EPI- Impersonation extended Active Directory right.

error_impersonation_failed 

This error indicates that there was an unexpected error when an attempt was made to perform server-to-server authentication. This response code typically indicates either that the service account that is running the Exchange Web Services application pool is configured incorrectly, that Exchange Web Services cannot talk to the directory, or that a trust between forests is not correctly configured.

error_incorrect_schema_version 

This error indicates that the request was valid for the current Exchange Server version but was invalid for the request server version that was specified.

error_incorrect_update_property_count 

This error indicates that each change description in the UpdateItem or UpdateFolder elements must list only one property to update.

error_individual_mailbox_limit_reached 

This error occurs when the request contains too many attendees to resolve. By default, the maximum number of attendees to resolve is one hundred.

error_insufficient_resources 

This error occurs when the mailbox server is overloaded. Try your request again later.

error_internal_server_error 

This error indicates that Exchange Web Services encountered an error that it could not recover from, and a more specific response code that is associated with the error that occurred does not exist.

error_internal_server_transient_error 

This error indicates that an internal server error occurred and that you should try your request again later.

error_invalid_access_level 

This error indicates that the level of access that the caller has on the free/busy data is invalid.

error_invalid_argument 

This error indicates an error caused by all invalid arguments passed to the GetMessageTrackingReport operation. This error is returned in the following scenarios: The user specified in the sending-as parameter does not exist in the directory; the user specified in the sending-as parameter is not unique in the directory; the sending-as address is empty; the sending-as address is not a valid e-mail address.

error_invalid_attachment_id 

This error is returned by the GetAttachment operation or the DeleteAttachment operation when an attachment that corresponds to the specified ID is not found.

error_invalid_attachment_subfilter 

This error occurs when you try to bind to an existing search folder by using a complex attachment table restriction. Exchange Web Services only supports simple contains filters against the attachment table. If you try to bind to an existing search folder that has a more complex attachment table restriction (a subfilter), Exchange Web Services cannot render the XML for that filter and returns this response code. Note that you can still call the GetFolder operation on the folder, but do not request the SearchParameters element.

error_invalid_attachment_subfilter_text_filter 

This error occurs when you try to bind to an existing search folder by using a complex attachment table restriction. Exchange Web Services only supports simple contains filters against the attachment table. If you try to bind to an existing search folder that has a more complex attachment table restriction, Exchange Web Services cannot render the XML for that filter. In this case, the attachment subfilter contains a text filter, but it is not looking at the attachment display name. Note that you can still call the GetFolder operation on the folder, but do not request the SearchParameters element.

error_invalid_authorization_context 

This error indicates that the authorization procedure for the requestor failed.

error_invalid_change_key 

This error occurs when a consumer passes in a folder or item identifier with a change key that cannot be parsed. For example, this could be invalid base64 content or an empty string.

error_invalid_client_security_context 

This error indicates that there was an internal error when an attempt was made to resolve the identity of the caller.

error_invalid_complete_date 

This error is returned when an attempt is made to set the CompleteDate element value of a task to a time in the future. When it is converted to the local time of the Client Access server, the CompleteDate of a task cannot be set to a value that is later than the local time on the Client Access server.

error_invalid_contact_email_address 

This error indicates that an invalid e-mail address was provided for a contact.

error_invalid_contact_email_index 

This error indicates that an invalid e-mail index value was provided for an e-mail entry.

error_invalid_cross_forest_credentials 

This error occurs when the credentials that are used to proxy a request to a different directory service forest fail authentication.

error_invalid_delegate_permission 

This error indicates that the specified folder permissions are invalid.

error_invalid_delegate_user_id 

This error indicates that the specified delegate user ID is invalid.

error_invalid_exchange_impersonation_header_data 

This error occurs during Exchange Impersonation when a caller does not specify a UPN, an e-mail address, or a user SID. This will also occur if the caller specifies one or more of those and the values are empty.

error_invalid_excludes_restriction 

This error occurs when the bitmask that was passed into an Excludes element restriction is unable to be parsed.

error_invalid_expression_type_for_sub_filter 

This response code is not used.

error_invalid_extended_property 

This error occurs when the following events take place:

\li The caller tries to use an extended property that is not
supported by Exchange Web Services.
\li The caller passes in an invalid combination of attribute values
for an extended property. This also occurs if no attributes are
passed. Only certain combinations are allowed.  
error_invalid_extended_property_value 

This error occurs when the value section of an extended property does not match the type of the property; for example, setting an extended property that has PropertyType="String" to an array of integers will result in this error. Any string representation that is not coercible into the type that is specified for the extended property will give this error.

error_invalid_external_sharing_initiator 

This error indicates that the sharing invitation sender did not create the sharing invitation metadata.

error_invalid_external_sharing_subscriber 

This error indicates that a sharing message is not intended for the caller.

error_invalid_federated_organization_id 

This error indicates that the requestor's organization federation objects are not correctly configured.

error_invalid_folder_id 

This error occurs when the folder ID is corrupt.

error_invalid_folder_type_for_operation 

This error indicates that the specified folder type is invalid for the current operation. For example, you cannot create a Search folder in a public folder.

error_invalid_fractional_paging_parameters 

This error occurs in fractional paging when the user has specified one of the following:

  • A numerator that is greater than the denominator
  • A numerator that is less than zero
  • A denominator that is less than or equal to zero
error_invalid_get_sharing_folder_request 

This error indicates that the DataType and ShareFolderId elements are both present in a request.

error_invalid_free_busy_view_type 

This error occurs when the GetUserAvailability operation is called with a FreeBusyViewType of None.

error_invalid_id 

This error indicates that the ID and/or change key is malformed.

error_invalid_id_empty 

This error occurs when the caller specifies an Id attribute that is empty.

error_invalid_like_request 

This error occurs when the item can't be liked. Versions of Exchange starting with build number 15.00.0913.09 include this value.

error_invalid_id_malformed 

This error occurs when the caller specifies an Id attribute that is malformed.

error_invalid_id_malformed_ews_legacy_id_format 

This error indicates that a folder or item ID that is using the Exchange 2007 format was specified for a request with a version of Exchange 2007 SP1 or later. You cannot use Exchange 2007 IDs in Exchange 2007 SP1 or later requests. You have to use the ConvertId operation to convert them first.

error_invalid_id_moniker_too_long 

This error occurs when the caller specifies an Id attribute that is too long.

error_invalid_id_not_an_item_attachment_id 

This error is returned whenever an ID that is not an item attachment ID is passed to a Web service method that expects an attachment ID.

error_invalid_id_returned_by_resolve_names 

This error occurs when a contact in your mailbox is corrupt.

error_invalid_id_store_object_id_too_long 

This error occurs when the caller specifies an Id attribute that is too long.

error_invalid_id_too_many_attachment_levels 

This error is returned when the attachment hierarchy on an item exceeds the maximum of 255 levels deep.

error_invalid_id_xml 

This response code is not used.

error_invalid_im_contact_id 

This error is returned when the specified IM contact identifier does not represent a valid identifier. This error was introduced in Exchange 2013.

error_invalid_im_distribution_group_smtp_address 

This error is returned when the specified IM distribution group SMTP address identifier does not represent a valid identifier. This error was introduced in Exchange 2013.

error_invalid_im_group_id 

This error is returned when the specified IM group identifier does not represent a valid identifier. This error was introduced in Exchange 2013.

error_invalid_indexed_paging_parameters 

This error occurs if the offset for indexed paging is negative.

error_invalid_internet_header_child_nodes 

This response code is not used.

error_invalid_item_for_operation_archive_item 

Indicates that the item was invalid for an ArchiveItem operation.

error_invalid_item_for_operation_accept_item 

This error occurs when an attempt is made to use an AcceptItem response object for an item type other than a meeting request or a calendar item, or when an attempt is made to accept a calendar item occurrence that is in the Deleted Items folder.

error_invalid_item_for_operation_cancel_item 

This error occurs when an attempt is made to use a CancelItem response object on an item type other than a calendar item.

error_invalid_item_for_operation_create_item_attachment 

This error is returned when an attempt is made to create an item attachment of an unsupported type.

Supported item types for item attachments include the following objects:

  • Item
  • Message
  • CalendarItem
  • Task
  • Contact

For example, if you try to create a MeetingMessage attachment, you will encounter this response code.

error_invalid_item_for_operation_create_item 

This error is returned from a CreateItem operation if the request contains an unsupported item type. Supported items include the following objects:

  • Item
  • Message
  • CalendarItem
  • Task
  • Contact

Certain types are created as a side effect of doing something else. Meeting messages, for example, are created when you send a calendar item to attendees; they are not explicitly created.

error_invalid_item_for_operation_decline_item 

This error occurs when an attempt is made to use a DeclineItem response object for an item type other than a meeting request or a calendar item, or when an attempt is made to decline a calendar item occurrence that is in the Deleted Items folder.

error_invalid_item_for_operation_expand_dl 

This error indicates that the ExpandDL operation is valid only for private distribution lists.

error_invalid_item_for_operation_remove_item 

This error is returned from a RemoveItem response object if the request specifies an item that is not a meeting cancellation item.

error_invalid_item_for_operation_send_item 

This error is returned from a SendItem operation if the request specifies an item that is not a message item.

error_invalid_item_for_operation_tentative 

This error occurs when an attempt is made to use TentativelyAcceptItem for an item type other than a meeting request or a calendar item, or when an attempt is made to tentatively accept a calendar item occurrence that is in the Deleted Items folder.

error_invalid_logon_type 

This error is for internal use only. This error is not returned.

error_invalid_mailbox 

This error indicates that the CreateItem operation or the UpdateItem operation failed while creating or updating a personal distribution list.

error_invalid_managed_folder_property 

This error occurs when the structure of the managed folder is corrupted and cannot be rendered.

error_invalid_managed_folder_quota 

This error occurs when the quota that is set on the managed folder is less than zero, which indicates a corrupted managed folder.

error_invalid_managed_folder_size 

This error occurs when the size that is set on the managed folder is less than zero, which indicates a corrupted managed folder.

error_invalid_merged_free_busy_interval 

This error occurs when the supplied merged free/busy internal value is invalid. The default minimum value is 5 minutes. The default maximum value is 1440 minutes.

error_invalid_name_for_name_resolution 

This error occurs when the name is invalid for the ResolveNames operation. For example, a zero length string, a single space, a comma, and a dash are all invalid names.

error_invalid_network_service_context 

This error indicates an error in the Network Service account on the Client Access server.

error_invalid_oof_parameter 

This response code is not used.

error_invalid_operation 

This is a general error that is used when the requested operation is invalid. For example, you cannot do the following:

  • Perform a "Deep" traversal by using the FindFolder operation on a public folder.
  • Move or copy the public folder root.
  • Delete an associated item by using any mode except "Hard" delete.
  • Move or copy an associated item.
error_invalid_organization_relationship_for_free_busy 

This error indicates that a caller requested free/busy information for a user in another organization but the organizational relationship does not have free/busy enabled.

error_invalid_paging_max_rows 

This error occurs when a consumer passes in a zero or a negative value for the maximum rows to be returned.

error_invalid_parent_folder 

This error occurs when a consumer passes in an invalid parent folder for an operation. For example, this error is returned if you try to create a folder within a search folder.

error_invalid_percent_complete_value 

This error is returned when an attempt is made to set a task completion percentage to an invalid value. The value must be between 0 and 100 (inclusive).

error_invalid_permission_settings 

This error indicates that the permission level is inconsistent with the permission settings.

error_invalid_phone_call_id 

This error indicates that the caller identifier is not valid.

error_invalid_phone_number 

This error indicates that the telephone number is not correct or does not fit the dial plan rules.

error_invalid_property_append 

This error occurs when the property that you are trying to append to does not support appending. The following are the only properties that support appending:

  • Recipient collections (ToRecipients, CcRecipients, BccRecipients)
  • Attendee collections (RequiredAttendees, OptionalAttendees, Resources)
  • Body
  • ReplyTo

In addition, this error occurs when a message body is appended if the format specified in the request does not match the format of the item in the store.

error_invalid_property_delete 

This error occurs if the delete operation is specified in an UpdateItem operation or UpdateFolder operation call for a property that does not support the delete operation. For example, you cannot delete the ItemId element of the Item object.

error_invalid_property_for_exists 

This error occurs if the consumer passes in one of the flag properties in an Exists filter. For example, this error occurs if the IsRead or IsFromMe flags are specified in the Exists element. The request should use the IsEqualTo element instead for these as they are flags and therefore part of a single property.

error_invalid_property_for_operation 

This error occurs when the property that you are trying to manipulate does not support the operation that is being performed on it.

error_invalid_property_request 

This error occurs if a property that is specified in the request is not available for the item type. For example, this error is returned if a property that is only available on calendar items is requested in a GetItem operation call for a message or is updated in an UpdateItem operation call for a message.

This occurs in the following operations:

  • GetItem operation
  • GetFolder operation
  • UpdateItem operation
  • UpdateFolder operation
error_invalid_property_set 

This error indicates that the property that you are trying to manipulate does not support the operation that is being performed on it. For example, this error is returned if the property that you are trying to set is read-only.

error_invalid_property_update_sent_message 

This error occurs during an UpdateItem operation when a client tries to update certain properties of a message that has already been sent. For example, the following properties cannot be updated on a sent message:

  • IsReadReceiptRequested
  • IsDeliveryReceiptRequested
error_invalid_proxy_security_context 

This response code is not used.

error_invalid_pull_subscription_id 

This error occurs if you call the GetEvents operation or the Unsubscribe operation by using a push subscription ID. To unsubscribe from a push subscription, you must respond to a push request with an unsubscribe response, or disconnect your Web service and wait for the push notifications to time out.

error_invalid_push_subscription_url 

This error is returned by the Subscribe operation when it creates a "push" subscription and indicates that the URL that is included in the request is invalid. The following conditions must be met for Exchange Web Services to accept the URL:

  • String length > 0 and < 2083.
  • Protocol is http or https.
  • The URL can be parsed by the URI Microsoft .NET Framework class.
error_invalid_recipients 

This error indicates that the recipient collection on your message or the attendee collection on your calendar item is invalid. For example, this error will be returned when an attempt is made to send an item that has no recipients.

error_invalid_recipient_subfilter 

This error indicates that the search folder has a recipient table filter that Exchange Web Services cannot represent. To get around this error, retrieve the folder without requesting the search parameters.

error_invalid_recipient_subfilter_comparison 

This error indicates that the search folder has a recipient table filter that Exchange Web Services cannot represent. To get around this error, retrieve the folder without requesting the search parameters.

error_invalid_recipient_subfilter_order 

This error indicates that the search folder has a recipient table filter that Exchange Web Services cannot represent. To get around this error, retrieve the folder without requesting the search parameters.

error_invalid_recipient_subfilter_text_filter 

This error indicates that the search folder has a recipient table filter that Exchange Web Services cannot represent. To get around this error, retrieve the folder without requesting the search parameters.

error_invalid_reference_item 

This error is returned from the CreateItem operation for Forward and Reply response objects in the following scenarios:

  • The referenced item identifier is not a Message, a CalendarItem, or a descendant of a Message or CalendarItem.
  • The reference item identifier is for a CalendarItem and the organizer is trying to Reply or ReplyAll to himself.
  • The message is a draft and Reply or ReplyAll is selected.
  • The reference item, for SuppressReadReceipt, is not a Message or a descendant of a Message.
error_invalid_request 

This error occurs when the SOAP request has a SOAP action header, but nothing in the SOAP body. Note that the SOAP Action header is not required as Exchange Web Services can determine the method to call from the local name of the root element in the SOAP body.

error_invalid_restriction 

This response code is not used.

error_invalid_retention_tag_type_mismatch 

This error is returned when the specified retention tag has an incorrect action associated with it. This error was introduced in Exchange 2013.

error_invalid_retention_tag_invisible 

This error is returned when an attempt is made to set a nonexistent or invisible tag on a PolicyTag property. This error was introduced in Exchange 2013.

error_invalid_retention_tag_inheritance 

This error is returned when an attempt is made to set an implicit tag on the PolicyTag property. This error was introduced in Exchange

error_invalid_retention_tag_id_guid 

Indicates that the retention tag GUID was invalid.

error_invalid_routing_type 

This error occurs if the routing type that is passed for a RoutingType (EmailAddressType) element is invalid. Typically, the routing type is set to Simple Mail Transfer Protocol (SMTP).

error_invalid_scheduled_oof_duration 

This error occurs if the specified duration end time is not greater than the start time, or if the end time does not occur in the future.

error_invalid_schema_version_for_mailbox_version 

This error indicates that a proxy request that was sent to another server is not able to service the request due to a versioning mismatch.

error_invalid_security_descriptor 

This error indicates that the Exchange security descriptor on the Calendar folder in the store is corrupted.

error_invalid_send_item_save_settings 

This error occurs during an attempt to send an item where the SavedItemFolderId is specified in the request but the SaveItemToFolder property is set to false.

error_invalid_serialized_access_token 

This error indicates that the token that was passed in the header is malformed, does not refer to a valid account in the directory, or is missing the primary group ConnectingSID.

error_invalid_sharing_data 

This error indicates that the sharing metadata is not valid. This can be caused by invalid XML.

error_invalid_sharing_message 

This error indicates that the sharing message is not valid. This can be caused by a missing property.

error_invalid_sid 

This error occurs when an invalid SID is passed in a request.

error_invalid_sip_uri 

This error indicates that the SIP name, dial plan, or the phone number are invalid SIP URIs.

error_invalid_server_version 

This error indicates that an invalid request server version was specified in the request.

error_invalid_smtp_address 

This error occurs when the SMTP address cannot be parsed.

error_invalid_subfilter_type 

This response code is not used.

error_invalid_subfilter_type_not_attendee_type 

This response code is not used.

error_invalid_subfilter_type_not_recipient_type 

This response code is not used.

error_invalid_subscription 

This error indicates that the subscription is no longer valid. This could be because the Client Access server is restarting or because the subscription is expired.

error_invalid_subscription_request 

This error indicates that the subscribe request included multiple public folder IDs. A subscription can include multiple folders from the same mailbox or one public folder ID.

error_invalid_sync_state_data 

This error is returned by SyncFolderItems or SyncFolderHierarchy if the SyncState data that is passed is invalid. To fix this error, you must resynchronize without the sync state. Make sure that if you are persisting sync state BLOBs, you are not accidentally truncating the BLOB.

error_invalid_time_interval 

This error indicates that the specified time interval is invalid. The start time must be greater than or equal to the end time.

error_invalid_user_info 

This error indicates that an internally inconsistent UserId was specified for a permissions operation. For example, if a distinguished user ID is specified (Default or Anonymous), this error is returned if you also try to specify a SID, or primary SMTP address or display name for this user.

error_invalid_user_oof_settings 

This error indicates that the user Out of Office (OOF) settings are invalid because of a missing internal or external reply.

error_invalid_user_principal_name 

This error occurs during Exchange Impersonation. The caller passed in an invalid UPN in the SOAP header that was not accessible in the directory.

error_invalid_user_sid 

This error occurs when an invalid SID is passed in a request.

error_invalid_user_sid_missing_upn 

This response code is not used.

error_invalid_value_for_property 

This error indicates that the comparison value in the restriction is invalid for the property you are comparing against. For example, the comparison value of DateTimeCreated > true would return this response code. This response code is also returned if you specify an enumeration property in the comparison, but the value that you are comparing against is not a valid value for that enumeration.

error_invalid_watermark 

This error is caused by an invalid watermark.

error_ip_gateway_not_found 

This error indicates that a valid VoIP gateway is not available.

error_irresolvable_conflict 

This error indicates that conflict resolution was unable to resolve changes for the properties. The items in the store may have been changed and have to be updated. Retrieve the updated change key and try again.

error_item_corrupt 

This error indicates that the state of the object is corrupted and cannot be retrieved. When you are retrieving an item, only certain elements will be in this state, such as Body and MimeContent. Omit these elements and retry the operation.

error_item_not_found 

This error occurs when the item was not found or you do not have permission to access the item.

error_item_property_request_failed 

This error occurs if a property request on an item fails. The property may exist, but it could not be retrieved.

error_item_save 

This error occurs when attempts to save the item or folder fail.

error_item_save_property_error 

This error occurs when attempts to save the item or folder fail because of invalid property values. The response code includes the path of the invalid properties.

error_legacy_mailbox_free_busy_view_type_not_merged 

This response code is not used.

error_local_server_object_not_found 

This response code is not used.

error_logon_as_network_service_failed 

This error indicates that the Availability service was unable to log on as the network service to proxy requests to the appropriate sites or forests. This response typically indicates a configuration error.

error_mailbox_configuration 

This error indicates that the mailbox information in AD DS is configured incorrectly.

error_mailbox_data_array_empty 

This error indicates that the MailboxDataArray element in the request is empty. You must supply at least one mailbox identifier.

error_mailbox_data_array_too_big 

This error occurs when more than 100 entries are supplied in a MailboxDataArray element..

error_mailbox_failover 

This error indicates that an attempt to access a mailbox failed because the mailbox is in a failover process.

error_mailbox_hold_not_found 

Indicates that the mailbox hold was not found.

error_mailbox_logon_failed 

This error occurs when the connection to the mailbox to get the calendar view information failed.

error_mailbox_move_in_progress 

This error indicates that the mailbox is being moved to a different mailbox store or server. This error can also indicate that the mailbox is on another server or mailbox database.

error_mailbox_store_unavailable 

This error indicates that one of the following error conditions occurred:

  • The mailbox store is corrupt.
  • The mailbox store is being stopped.
  • The mailbox store is offline.
  • A network error occurred when an attempt was made to access the mailbox store.
  • The mailbox store is overloaded and cannot accept any more connections.
  • The mailbox store has been paused.
error_mail_recipient_not_found 

This error occurs if the MailboxData element information cannot be mapped to a valid mailbox account.

error_mail_tips_disabled 

This error indicates that mail tips are disabled.

error_managed_folder_already_exists 

This error occurs if the managed folder that you are trying to create already exists in a mailbox.

error_managed_folder_not_found 

This error occurs when the folder name that was specified in the request does not map to a managed folder definition in AD DS. You can only create instances of managed folders for folders that are defined in AD DS. Check the name and try again.

error_managed_folders_root_failure 

This error indicates that the managed folders root was deleted from the mailbox or that a folder exists in the same parent folder that has the name of the managed folder root. This will also occur if the attempt to create the root managed folder fails.

error_meeting_suggestion_generation_failed 

This error indicates that the suggestions engine encountered a problem when it was trying to generate the suggestions.

error_message_disposition_required 

This error occurs if the MessageDisposition attribute is not set. This attribute is required for the following:

  • The CreateItem operation and the UpdateItem operation when the item being created or updated is a Message.
  • CancelCalendarItem, AcceptItem, DeclineItem, or TentativelyAcceptItem response objects.
error_message_size_exceeded 

This error indicates that the message that you are trying to send exceeds the allowed limits.

error_message_tracking_no_such_domain 

This error indicates that the given domain cannot be found.

error_message_tracking_permanent_error 

This error indicates that the message tracking service cannot track the message.

_error_message_tracking_transient_error 

This error indicates that the message tracking service is either down or busy. This error code indicates a transient error. Clients can retry to connect to the server when this error is received.

error_mime_content_conversion_failed 

This error occurs when the MIME content is not a valid iCal for a CreateItem operation. For a GetItem operation, this response indicates that the MIME content could not be generated.

error_mime_content_invalid 

This error occurs when the MIME content is invalid.

error_mime_content_invalid_base64_string 

This error occurs when the MIME content in the request is not a valid base 64 string.

error_missing_argument 

This error indicates that a required argument was missing from the request. The response message text indicates which argument to check.

error_missing_email_address 

This error indicates that you specified a distinguished folder ID in the request, but the account that made the request does not have a mailbox on the system. In that case, you must supply a Mailbox sub- element under DistinguishedFolderId.

error_missing_email_address_for_managed_folder 

This error indicates that you specified a distinguished folder ID in the request, but the account that made the request does not have a mailbox on the system. In that case, you must supply a Mailbox sub- element under DistinguishedFolderId. This response is returned from the CreateManagedFolder operation.

error_missing_information_email_address 

This error occurs if the EmailAddress (NonEmptyStringType) element is missing.

error_missing_information_reference_item_id 

This error occurs if the ReferenceItemId is missing.

error_missing_item_for_create_item_attachment 

This error is returned when an attempt is made to not include the item element in the ItemAttachment element of a CreateAttachment operation request.

error_missing_managed_folder_id 

This error occurs when the policy IDs property, property tag 0x6732, for the folder is missing. You should consider this a corrupted folder.

error_missing_recipients 

This error indicates that you tried to send an item without including recipients. Note that if you call the CreateItem operation with a message disposition that causes the message to be sent, you will get the following response code: ErrorInvalidRecipients.

error_missing_user_id_information 

This error indicates that a UserId has not been fully specified in a permissions set.

error_more_than_one_access_mode_specified 

This error indicates that you have specified more than one ExchangeImpersonation element value within a request.

error_move_copy_failed 

This error indicates that the move or copy operation failed. Moving occurs in the CreateItem operation when you accept a meeting request that is in the Deleted Items folder. In addition, if you decline a meeting request, cancel a calendar item, or remove a meeting from your calendar, it is moved to the Deleted Items folder.

error_move_distinguished_folder 

This error occurs if you try to move a distinguished folder.

error_multi_legacy_mailbox_access 

This error occurs when a request attempts to access multiple mailbox servers. This error was introduced in Exchange 2013.

error_name_resolution_multiple_results 

This error occurs if the ResolveNames operation returns more than one result or the ambiguous name that you specified matches more than one object in the directory. The response code includes the matched names in the response data.

error_name_resolution_no_mailbox 

This error indicates that the caller does not have a mailbox on the system. The ResolveNames operation or ExpandDL operation is invalid for connecting a user without a mailbox.

error_name_resolution_no_results 

This error indicates that the ResolveNames operation returns no results.

error_no_applicable_proxy_cas_servers_available 

This error code MUST be returned when the Web service cannot find a server to handle the request.

error_no_calendar 

This error occurs if there is no Calendar folder for the mailbox.

error_no_destination_cas_due_to_kerberos_requirements 

This error indicates that the request referred to a mailbox in another Active Directory site, but no Client Access servers in the destination site were configured for Windows Authentication, and therefore the request could not be proxied.

error_no_destination_cas_due_to_ssl_requirements 

This error indicates that the request referred to a mailbox in another Active Directory site, but no Client Access servers in the destination site were configured for SSL connections, and therefore the request could not be proxied.

error_no_destination_cas_due_to_version_mismatch 

This error indicates that the request referred to a mailbox in another Active Directory site, but no Client Access servers in the destination site were of an acceptable product version to receive the request, and therefore the request could not be proxied.

error_no_folder_class_override 

This error occurs if you set the FolderClass element when you are creating an item other than a generic folder. For typed folders such as CalendarFolder and TasksFolder, the folder class is implied. Setting the folder class to a different folder type by using the UpdateFolder operation results in the ErrorObjectTypeChanged response. Instead, use a generic folder type but set the folder class to the value that you require. Exchange Web Services will create the correct strongly typed folder.

error_no_free_busy_access 

This error indicates that the caller does not have free/busy viewing rights on the Calendar folder in question.

error_non_existent_mailbox 

This error occurs in the following scenarios:

\li The e-mail address is empty in CreateManagedFolder.
\li The e-mail address does not refer to a valid account in a
request that takes an e-mail address in the body or in the SOAP
header, such as in an Exchange Impersonation call.  
error_non_primary_smtp_address 

This error occurs when a caller passes in a non-primary SMTP address. The response includes the correct SMTP address to use.

error_no_property_tag_for_custom_properties 

This error indicates that MAPI properties in the custom range, 0x8000 and greater, cannot be referenced by property tags. You must use the EWS Managed API PropertySetId property or the EWS ExtendedFieldURI element with the PropertySetId attribute.

error_no_public_folder_replica_available 

This response code is not used.

error_no_public_folder_server_available 

This error code MUST be returned if no public folder server is available or if the caller does not have a home public server.

error_no_responding_cas_in_destination_site 

This error indicates that the request referred to a mailbox in another Active Directory site, but none of the Client Access servers in that site responded, and therefore the request could not be proxied.

error_not_allowed_external_sharing_by_policy 

This error indicates that the caller tried to grant permissions in its calendar or contacts folder to a user in another organization, and the attempt failed.

error_not_delegate 

This error indicates that the user is not a delegate for the mailbox. It is returned by the GetDelegate operation, the RemoveDelegate operation, and the UpdateDelegate operation when the specified delegate user is not found in the list of delegates.

error_not_enough_memory 

This error indicates that the operation could not be completed because of insufficient memory.

error_not_supported_sharing_message 

This error indicates that the sharing message is not supported.

error_object_type_changed 

This error occurs if the object type changed.

error_occurrence_crossing_boundary 

This error occurs when the Start or End time of an occurrence is updated so that the occurrence is scheduled to happen earlier or later than the corresponding previous or next occurrence.

error_occurrence_time_span_too_big 

This error indicates that the time allotment for a given occurrence overlaps with another occurrence of the same recurring item. This response also occurs when the length in minutes of a given occurrence is larger than Int32.MaxValue.

error_operation_not_allowed_with_public_folder_root 

This error indicates that the current operation is not valid for the public folder root.

error_organization_not_federated 

This error indicates that the requester's organization is not federated so the requester cannot create sharing messages to send to an external user or cannot accept sharing messages received from an external user.

error_parent_folder_id_required 

This response code is not used.

error_parent_folder_not_found 

This error occurs in the CreateFolder operation when the parent folder is not found.

error_password_change_required 

This error indicates that you must change your password before you can access this mailbox. This occurs when a new account has been created and the administrator indicated that the user must change the password at first logon. You cannot update the password by using Exchange Web Services. You must use a tool such as Microsoft Office Outlook Web App to change your password.

error_password_expired 

This error indicates that the password has expired. You cannot change the password by using Exchange Web Services. You must use a tool such as Outlook Web App to change your password.

error_permission_not_allowed_by_policy 

This error indicates that the requester tried to grant permissions in its calendar or contacts folder to an external user but the sharing policy assigned to the requester indicates that the requested permission level is higher than what the sharing policy allows.

error_phone_number_not_dialable 

This error indicates that the telephone number was not in the correct form.

error_property_update 

This error indicates that the update failed because of invalid property values. The response message includes the invalid property paths.

error_prompt_publishing_operation_failed 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_property_validation_failure 

This response code is not used.

error_proxied_subscription_call_failure 

This error indicates that the request referred to a subscription that exists on another Client Access server, but an attempt to proxy the request to that Client Access server failed.

error_proxy_call_failed 

This response code is not used.

error_proxy_group_sid_limit_exceeded 

This error indicates that the request referred to a mailbox in another Active Directory site, and the original caller is a member of more than 3,000 groups.

error_proxy_request_not_allowed 

This error indicates that the request that Exchange Web Services sent to another Client Access server when trying to fulfill a GetUserAvailabilityRequest request was invalid. This response code typically indicates that a configuration or rights error has occurred, or that someone tried unsuccessfully to mimic an availability proxy request.

error_proxy_request_processing_failed 

This error indicates that Exchange Web Services tried to proxy an availability request to another Client Access server for fulfillment, but the request failed. This response can be caused by network connectivity issues or request timeout issues.

error_proxy_service_discovery_failed 

This error code must be returned if the Web service cannot determine whether the request is to run on the target server or will be proxied to another server.

error_proxy_token_expired 

This response code is not used.

error_public_folder_mailbox_discovery_failed 

This error occurs when the public folder mailbox URL cannot be found. This error is intended for internal use only. This error was introduced in Exchange 2013.

error_public_folder_operation_failed 

This error occurs when an attempt is made to access a public folder and the attempt is unsuccessful. This error was introduced in Exchange 2013Exchange Server 2013.

error_public_folder_request_processing_failed 

This error occurs when the recipient that was passed to the GetUserAvailability operation is located on a computer that is running a version of Exchange Server that is earlier than Exchange 2007, and the request to retrieve free/busy information for the recipient from the public folder server failed.

error_public_folder_server_not_found 

This error occurs when the recipient that was passed to the GetUserAvailability operation is located on a computer that is running a version of Exchange Server that is earlier than Exchange 2007, and the request to retrieve free/busy information for the recipient from the public folder server failed because the organizational unit did not have an associated public folder server.

error_public_folder_sync_exception 

This error occurs when a synchronization operation succeeds against the primary public folder mailbox but does not succeed against the secondary public folder mailbox. This error was introduced in Exchange 2013.

error_query_filter_too_long 

This error indicates that the search folder restriction may be valid, but it is not supported by EWS. Exchange Web Services limits restrictions to contain a maximum of 255 filter expressions. If you try to bind to an existing search folder that exceeds 255, this response code is returned.

error_quota_exceeded 

This error occurs when the mailbox quota is exceeded.

error_read_events_failed 

This error is returned by the GetEvents operation or push notifications when a failure occurs while retrieving event information. When this error is returned, the subscription is deleted. Re-create the event synchronization based on a last known watermark.

error_read_receipt_not_pending 

This error is returned by the CreateItem operation if an attempt was made to suppress a read receipt when the message sender did not request a read receipt on the message or if the message is in the Junk E-mail folder.

error_recurrence_end_date_too_big 

This error occurs when the end date for the recurrence is after 9/1/4500.

error_recurrence_has_no_occurrence 

This error occurs when the specified recurrence does not have any occurrence instances in the specified range.

error_remove_delegates_failed 

This error indicates that the delegate list failed to be saved after delegates were removed.

error_request_aborted 

This response code is not used.

error_request_stream_too_big 

This error occurs when the request stream is larger than 400 KB.

error_required_property_missing 

This error is returned when a required property is missing in a CreateAttachment operation request. The missing property URI is included in the response.

error_resolve_names_invalid_folder_type 

This error indicates that the caller has specified a folder that is not a contacts folder to the ResolveNames operation.

error_resolve_names_only_one_contacts_folder_allowed 

This error indicates that the caller has specified more than one contacts folder to the ResolveNames operation.

error_response_schema_validation 

This response code is not used.

error_restriction_too_long 

This error occurs if the restriction contains more than 255 nodes.

error_restriction_too_complex 

This error occurs when the restriction cannot be evaluated by Exchange Web Services.

error_result_set_too_big 

This error indicates that the number of calendar entries for a given recipient exceeds the allowed limit of 1000. Reduce the window and try again.

error_saved_item_folder_not_found 

This error occurs when the SavedItemFolderId is not found.

error_schema_validation 

This error occurs when the request cannot be validated against the schema.

error_search_folder_not_initialized 

This error indicates that the search folder was created, but the search criteria were never set on the folder. This only occurs when you access corrupted search folders that were created by using another API or client. To fix this error, use the UpdateFolder operation to set the SearchParameters element to include the restriction that should be on the folder.

error_send_as_denied 

This error occurs when both of the following conditions occur:

\li A user has been granted CanActAsOwner permissions but is not
granted delegate rights on the principal’s mailbox.
\li The same user tries to create and send an e-mail message in the
principal’s mailbox by using the SendAndSaveCopy option.
The result is an ErrorSendAsDenied error and the creation of the
e-mail message in the principal’s Drafts folder.  
error_send_meeting_cancellations_required 

This error is returned by the DeleteItem operation if the SendMeetingCancellations attribute is missing from the request and the item to delete is a calendar item.

error_send_meeting_invitations_or_cancellations_required 

This error is returned by the UpdateItem operation if the SendMeetingInvitationsOrCancellations attribute is missing from the request and the item to update is a calendar item.

error_send_meeting_invitations_required 

This error is returned by the CreateItem operation if the SendMeetingInvitations attribute is missing from the request and the item to create is a calendar item.

error_sent_meeting_request_update 

This error indicates that after the organizer sends a meeting request, the request cannot be updated. To modify the meeting, modify the calendar item, not the meeting request.

error_sent_task_request_update 

This error indicates that after the task initiator sends a task request, that request cannot be updated.

error_server_busy 

This error occurs when the server is busy.

error_service_discovery_failed 

This error indicates that Exchange Web Services tried to proxy a user availability request to the appropriate forest for the recipient, but it could not determine where to send the request because of a service discovery failure.

error_sharing_no_external_ews_available 

This error indicates that the external URL property has not been set in the Active Directory database.

error_stale_object 

This error occurs in an UpdateItem operation or a SendItem operation when the change key is not up-to-date or was not supplied. Call the GetItem operation to retrieve an updated change key and then try the operation again.

error_submission_quota_exceeded 

This error Indicates that a user cannot immediately send more requests because the submission quota has been reached.

error_subscription_access_denied 

This error occurs when you try to access a subscription by using an account that did not create that subscription. Each subscription can only be accessed by the creator of the subscription.

error_subscription_delegate_access_not_supported 

This error indicates that you cannot create a subscription if you are not the owner or do not have owner access to the mailbox.

error_subscription_not_found 

This error occurs if the subscription that corresponds to the specified SubscriptionId (GetEvents) is not found. The subscription may have expired, the Exchange Web Services process may have been restarted, or an invalid subscription was passed in. If the subscription was valid, re-create the subscription with the latest watermark. This is returned by the Unsubscribe operation or the GetEvents operation responses.

error_subscription_unsubscribed 

This error code must be returned when a request is made for a subscription that has been unsubscribed.

error_sync_folder_not_found 

This error is returned by the SyncFolderItems operation if the parent folder that is specified cannot be found.

error_team_mailbox_not_found 

This error indicates that a team mailbox was not found. This error was introduced in Exchange 2013.

error_team_mailbox_not_linked_to_share_point 

This error indicates that a team mailbox was found but that it is not linked to a SharePoint Server. This error was introduced in Exchange 2013.

error_team_mailbox_url_validation_failed 

This error indicates that a team mailbox was found but that the link to the SharePoint Server is not valid. This error was introduced in Exchange 2013.

error_team_mailbox_not_authorized_owner 

This error code is not used. This error was introduced in Exchange

error_team_mailbox_active_to_pending_delete 

This error code is not used. This error was introduced in Exchange

error_team_mailbox_failed_sending_notifications 

This error indicates that an attempt to send a notification to the team mailbox owners was unsuccessful. This error was introduced in Exchange 2013.

error_team_mailbox_error_unknown 

This error indicates a general error that can occur when trying to access a team mailbox. Try submitting the request at a later time. This error was introduced in Exchange 2013.

error_time_interval_too_big 

This error indicates that the time window that was specified is larger than the allowed limit. By default, the allowed limit is 42.

error_timeout_expired 

This error occurs when there is not enough time to complete the processing of the request.

error_time_zone 

This error indicates that there is a time zone error.

error_to_folder_not_found 

This error indicates that the destination folder does not exist.

error_token_serialization_denied 

This error occurs if the caller tries to do a Token serialization request but does not have the ms-Exch-EPI-TokenSerialization right on the Client Access server.

error_too_many_objects_opened 

This error occurs when the internal limit on open objects has been exceeded.

error_unified_messaging_dial_plan_not_found 

This error indicates that a user's dial plan is not available.

error_unified_messaging_report_data_not_found 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_unified_messaging_prompt_not_found 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_unified_messaging_request_failed 

This error indicates that the user could not be found.

error_unified_messaging_server_not_found 

This error indicates that a valid server for the dial plan can be found to handle the request.

error_unable_to_get_user_oof_settings 

This response code is not used.

error_unable_to_remove_im_contact_from_group 

This error occurs when an unsuccessful attempt is made to remove an IM contact from a group. This error was introduced in Exchange 2013.

error_unsupported_culture 

This error occurs when you try to set the Culture property to a value that is not parsable by the System.Globalization.CultureInfo class.

error_unsupported_mapi_property_type 

This error occurs when a caller tries to use extended properties of types object, object array, error, or null.

error_unsupported_mime_conversion 

This error occurs when you are trying to retrieve or set MIME content for an item other than a PostItem, Message, or CalendarItem object.

error_unsupported_path_for_query 

This error occurs when the caller passes a property that is invalid for a query. This can occur when calculated properties are used.

error_unsupported_path_for_sort_group 

This error occurs when the caller passes a property that is invalid for a sort or group by property. This can occur when calculated properties are used.

error_unsupported_property_definition 

This response code is not used.

error_unsupported_query_filter 

This error indicates that the search folder restriction may be valid, but it is not supported by EWS.

error_unsupported_recurrence 

This error indicates that the specified recurrence is not supported for tasks.

error_unsupported_sub_filter 

This response code is not used.

error_unsupported_type_for_conversion 

This error indicates that Exchange Web Services found a property type in the store but it cannot generate XML for the property type.

error_update_delegates_failed 

This error indicates that the delegate list failed to be saved after delegates were updated.

error_update_property_mismatch 

This error occurs when the single property path that is listed in a change description does not match the single property that is being set within the actual Item or Folder object.

error_user_not_unified_messaging_enabled 

This error indicates that the requester is not enabled.

error_user_not_allowed_by_policy 

This error indicates that the requester tried to grant permissions in its calendar or contacts folder to an external user but the sharing policy assigned to the requester indicates that the domain of the external user is not listed in the policy.

error_user_without_federated_proxy_address 

Indicates that the requester's organization has a set of federated domains but the requester's organization does not have any SMTP proxy addresses with one of the federated domains.

error_value_out_of_range 

This error indicates that a calendar view start date or end date was set to 1/1/0001 12:00:00 AM or 12/31/9999 11:59:59 PM.

error_virus_detected 

This error indicates that the Exchange store detected a virus in the message.

error_virus_message_deleted 

This error indicates that the Exchange store detected a virus in the message and deleted it.

error_voice_mail_not_implemented 

This response code is not used.

error_web_request_in_invalid_state 

This response code is not used.

error_win32_interop_error 

This error indicates that there was an internal failure during communication with unmanaged code.

error_working_hours_save_failed 

This response code is not used.

error_working_hours_xml_malformed 

This response code is not used.

error_wrong_server_version 

This error indicates that a request can only be made to a server that is the same version as the mailbox server.

error_wrong_server_version_delegate 

This error indicates that a request was made by a delegate that has a different server version than the principal's mailbox server.

error_missing_information_sharing_folder_id 

This error code is never returned.

error_duplicate_soap_header 

Specifies that there are duplicate SOAP headers.

error_sharing_synchronization_failed 

Specifies that an attempt at synchronizing a sharing folder failed. This error code is returned when:

  • The subscription for a sharing folder is not found.
  • The sharing folder was not found.
  • The corresponding directory user was not found.
  • The user no longer exists.
  • The appointment is invalid.
  • The contact item is invalid.
  • There was a communication failure with the remote server.
error_message_tracking_transient_error 

Specifies that either the message tracking service is down or busy. This error code specifies a transient error. Clients can retry to connect to the server when this error is received.

error_apply_conversation_action_failed 

This error MUST be returned if an action cannot be applied to one or more items in the conversation.

error_inbox_rules_validation_error 

This error MUST be returned if any rule does not validate.

error_outlook_rule_blob_exists 

This error MUST be returned when an attempt to manage Inbox rules occurs after another client has accessed the Inbox rules.

error_rules_over_quota 

This error MUST be returned when a user's rule quota has been exceeded.

error_new_event_stream_connection_opened 

This error MUST be returned to the first subscription connection if a second subscription connection is opened.

error_missed_notification_events 

This error MUST be returned when event notifications are missed.

error_duplicate_legacy_distinguished_name 

This error is returned when there are duplicate legacy distinguished names in Active Directory Domain Services (AD DS). This error was introduced in Exchange 2013.

error_invalid_client_access_token_request 

This error indicates that a request to get a client access token was not valid. This error was introduced in Exchange 2013.

error_no_speech_detected 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_um_server_unavailable 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_recipient_not_found 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_recognizer_not_installed 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_speech_grammar_error 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_invalid_management_role_header 

This error is returned if the ManagementRole header in the SOAP header is incorrect. This error was introduced in Exchange 2013.

error_location_services_disabled 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_location_services_request_timed_out 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_location_services_request_failed 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_location_services_invalid_request 

This error is intended for internal use only. This error was introduced in Exchange 2013.

error_weather_service_disabled 

This error is intended for internal use only.

error_mailbox_scope_not_allowed_without_query_string 

This error is returned when a scoped search attempt is performed without using a QueryString (String) element for a content indexing search. This is applicable to the SearchMailboxes and FindConversation operations. This error was introduced in Exchange

error_archive_mailbox_search_failed 

This error is returned when an archive mailbox search is unsuccessful. This error was introduced in Exchange 2013.

error_archive_mailbox_service_discovery_failed 

This error is returned when the URL of an archive mailbox is not discoverable. This error was introduced in Exchange 2013.

error_get_remote_archive_folder_failed 

This error occurs when the operation to get the remote archive mailbox folder failed.

error_find_remote_archive_folder_failed 

This error occurs when the operation to find the remote archive mailbox folder failed.

error_get_remote_archive_item_failed 

This error occurs when the operation to get the remote archive mailbox item failed.

error_export_remote_archive_items_failed 

This error occurs when the operation to export remote archive mailbox items failed.

error_invalid_photo_size 

This error is returned if an invalid photo size is requested from the server. This error was introduced in Exchange 2013.

error_search_query_has_too_many_keywords 

This error is returned when an unexpected photo size is requested in a GetUserPhoto operation request. This error was introduced in Exchange 2013.

error_search_too_many_mailboxes 

This error is returned when a SearchMailboxes operation request contains too many mailboxes to search. This error was introduced in Exchange 2013.

error_invalid_retention_tag_none 

This error indicates that no retention tags were found for this user. This error was introduced in Exchange 2013.

error_discovery_searches_disabled 

This error is returned when discovery searches are disabled on a tenant or server. This error was introduced in Exchange 2013.

error_calendar_seek_to_condition_not_supported 

This error occurs when attempting to invoke the FindItem operation with a SeekToConditionPageItemView for fetching calendar items, which is not supported.

error_calendar_is_group_mailbox_for_accept 

This error is intended for internal use only.

error_calendar_is_group_mailbox_for_decline 

This error is intended for internal use only.

error_calendar_is_group_mailbox_for_tentative 

This error is intended for internal use only.

error_calendar_is_group_mailbox_for_suppress_read_receipt 

This error is intended for internal use only.

error_organization_access_blocked 

The tenant is marked for removal.

error_invalid_license 

The user doesn't have a valid license.

error_message_per_folder_count_receive_quota_exceeded 

The message per folder receive quota has been exceeded.

enum ews::response_type
strong

The ResponseType element represents the type of recipient response that is received for a meeting.

Enumerator
unknown 

The response type is unknown.

organizer 

Indicates an organizer response type.

tentative 

Meeting is tentative accepted.

accept 

Meeting is accepted.

decline 

Meeting is declined.

no_response_received 

Indicates that no response is received.

enum ews::search_scope
strong

Identifies the order and scope for a ResolveNames search.

Enumerator
active_directory 

Only the Active Directory directory service is searched.

active_directory_contacts 

Active Directory is searched first, and then the contact folders that are specified in the ParentFolderIds property are searched.

contacts 

Only the contact folders that are identified by the ParentFolderIds property are searched.

contacts_active_directory 

Contact folders that are identified by the ParentFolderIds property are searched first and then Active Directory is searched.

Describes how a meeting will be canceled.

Enumerator
send_to_none 

The calendar item is deleted without sending a cancellation message.

send_only_to_all 

The calendar item is deleted and a cancellation message is sent to all attendees

send_to_all_and_save_copy 

The calendar item is deleted and a cancellation message is sent to all attendees. A copy of the cancellation message is saved in the Sent Items folder

Describes how attendees will be updated when a meeting changes.

Enumerator
send_to_none 

The calendar item is updated but updates are not sent to attendee.

send_only_to_all 

The calendar item is updated and the meeting update is sent to all attendees but is not saved in the Sent Items folder

send_only_to_changed 

The calendar item is updated and the meeting update is sent only to attendees that are affected by the change in the meeting

send_to_all_and_save_copy 

The calendar item is updated, the meeting update is sent to all attendees, and a copy is saved in the Sent Items folder

send_to_changed_and_save_copy 

The calendar item is updated, the meeting update is sent to all attendees that are affected by the change in the meeting, and a copy is saved in the Sent Items folder

enum ews::sensitivity
strong

This enumeration indicates the sensitivity of an item.

Enumerator
normal 

The item has a normal sensitivity.

personal 

The item is personal.

priv 

The item is private.

confidential 

The item is confidential.

enum ews::server_version
strong

Defines the different values for the <RequestServerVersion> element.

Enumerator
exchange_2007 

Target the schema files for the initial release version of Exchange 2007

exchange_2007_sp1 

Target the schema files for Exchange 2007 Service Pack 1 (SP1), Exchange 2007 Service Pack 2 (SP2), and Exchange 2007 Service Pack 3 (SP3)

exchange_2010 

Target the schema files for Exchange 2010.

exchange_2010_sp1 

Target the schema files for Exchange 2010 Service Pack 1 (SP1)

exchange_2010_sp2 

Target the schema files for Exchange 2010 Service Pack 2 (SP2) and Exchange 2010 Service Pack 3 (SP3)

exchange_2013 

Target the schema files for Exchange 2013.

exchange_2013_sp1 

Target the schema files for Exchange 2013 Service Pack 1 (SP1)

enum ews::ssl_options : long
strong
enum ews::standard_folder
strong

Well known folder names enumeration. Usually rendered to XML as <DistinguishedFolderId> element.

Enumerator
calendar 

The Calendar folder.

contacts 

The Contacts folder.

deleted_items 

The Deleted Items folder.

drafts 

The Drafts folder.

inbox 

The Inbox folder.

journal 

The Journal folder.

notes 

The Notes folder.

outbox 

The Outbox folder.

sent_items 

The Sent Items folder.

tasks 

The Tasks folder.

msg_folder_root 

The root of the message folder hierarchy.

root 

The root of the mailbox.

junk_email 

The Junk E-mail folder.

search_folders 

The Search Folders folder, also known as the Finder folder.

voice_mail 

The Voicemail folder.

recoverable_items_root 

Following are folders containing recoverable items:

The root of the Recoverable Items folder hierarchy

recoverable_items_deletions 

The root of the folder hierarchy of recoverable items that have been soft-deleted from the Deleted Items folder

recoverable_items_versions 

The root of the Recoverable Items versions folder hierarchy in the archive mailbox

recoverable_items_purges 

The root of the folder hierarchy of recoverable items that have been hard-deleted from the Deleted Items folder

archive_root 

The root of the folder hierarchy in the archive mailbox.

archive_msg_folder_root 

The root of the message folder hierarchy in the archive mailbox.

archive_deleted_items 

The Deleted Items folder in the archive mailbox.

archive_inbox 

Represents the archive Inbox folder. Caution: only versions of Exchange starting with build number 15.00.0913.09 include this folder

archive_recoverable_items_root 

The root of the Recoverable Items folder hierarchy in the archive mailbox

archive_recoverable_items_deletions 

The root of the folder hierarchy of recoverable items that have been soft-deleted from the Deleted Items folder of the archive mailbox

archive_recoverable_items_versions 

The root of the Recoverable Items versions folder hierarchy in the archive mailbox

archive_recoverable_items_purges 

The root of the hierarchy of recoverable items that have been hard-deleted from the Deleted Items folder of the archive mailbox

sync_issues 

The Sync Issues folder.

conflicts 

The Conflicts folder.

local_failures 

The Local Failures folder.

server_failures 

Represents the Server Failures folder.

recipient_cache 

The recipient cache folder.

quick_contacts 

The quick contacts folder.

conversation_history 

The conversation history folder.

admin_audit_logs 

Represents the admin audit logs folder.

todo_search 

The todo search folder.

my_contacts 

Represents the My Contacts folder.

directory 

Represents the directory folder.

im_contact_list 

Represents the IM contact list folder.

people_connect 

Represents the people connect folder.

favorites 

Represents the Favorites folder.

enum ews::status
strong

Specifies the status of a task item.

Enumerator
not_started 

The task is not started.

in_progress 

The task is started and in progress.

completed 

The task is completed.

waiting_on_others 

The task is waiting on other.

deferred 

The task is deferred.

Function Documentation

template<typename RequestHandler >
autodiscover_result ews::get_exchange_web_services_url ( const std::string &  user_smtp_address,
const basic_credentials credentials 
)
inline

Returns the EWS URL by querying the Autodiscover service.

Parameters
user_smtp_addressUser's primary SMTP address
credentialsThe user's credentials
Returns
The Exchange Web Services URLs as autodiscover_result properties
template<typename RequestHandler >
autodiscover_result ews::get_exchange_web_services_url ( const std::string &  user_smtp_address,
const basic_credentials credentials,
const autodiscover_hints hints 
)
inline

Returns the EWS URL by querying the Autodiscover service.

Parameters
user_smtp_addressUser's primary SMTP address
credentialsThe user's credentials
hintsThe url given by the user
Returns
The Exchange Web Services URLs as autodiscover_result properties
void ews::set_up ( )
inline

Set-up EWS library.

Should be called when application is still in single-threaded context. Calling this function more than once does no harm.

Note: Function is not thread-safe

void ews::tear_down ( )
inline

Clean-up EWS library.

You should call this function only when no other thread is running. See libcurl(3) man-page or http://curl.haxx.se/libcurl/c/libcurl.html

Note: Function is not thread-safe