Skip to content

Commit

Permalink
Merge pull request #45 from nylas/support-exchange-2019
Browse files Browse the repository at this point in the history
Support Exchange 2019
  • Loading branch information
Bolaji Fatade authored May 11, 2020
2 parents 5c7b0b7 + b25efff commit c412274
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exchangelib/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'Exchange2015': ('Exchange2015', 'Microsoft Exchange Server 2015'),
'Exchange2015_SP1': ('Exchange2015_SP1', 'Microsoft Exchange Server 2015 SP1'),
'Exchange2016': ('Exchange2016', 'Microsoft Exchange Server 2016'),
'Exchange2019': ('Exchange2019', 'Microsoft Exchange Server 2019'),
}

# Build a list of unique API versions, used when guessing API version supported by the server. Use reverse order so we
Expand Down Expand Up @@ -67,6 +68,7 @@ class Build(object):
15: {
0: 'Exchange2013', # Minor builds starting from 847 are Exchange2013_SP1, see api_version()
1: 'Exchange2016',
2: 'Exchange2019',
20: 'Exchange2016', # This is Office365. See issue #221
},
}
Expand Down Expand Up @@ -156,6 +158,7 @@ def __repr__(self):
EXCHANGE_2013 = Build(15, 0)
EXCHANGE_2013_SP1 = Build(15, 0, 847)
EXCHANGE_2016 = Build(15, 1)
EXCHANGE_2019 = Build(15, 2)


@python_2_unicode_compatible
Expand Down

0 comments on commit c412274

Please sign in to comment.