exchangelib中Messages的changekey是什么?

What is the changekey of Messages in exchangelib?

我试图向用户提供有关他们在同一对话中以电子邮件形式收到的电子邮件的更多信息。

我做什么

from exchangelib import Message

# Works:
account = Account(primary_smtp_address=smtp_address, config=config,
                  autodiscover=False, access_type=DELEGATE)
mail = A message received under account

# Works, but probably needs adjustment:
m = Message(account=account,
            subject=mail.subject,
            conversation_id=mail.conversation_id,
            body='Test',
            to_recipients=[account.primary_smtp_address])

# Throws error below
m.send()

我明白了

Traceback (most recent call last):
  File "myscript.py", line 114, in myfunction
    m.send()
  File "/usr/local/lib/python2.7/dist-packages/exchangelib/items.py", line 507, in send
    res = self._create(message_disposition=SEND_ONLY, send_meeting_invitations=send_meeting_invitations)
  File "/usr/local/lib/python2.7/dist-packages/exchangelib/items.py", line 176, in _create
    send_meeting_invitations=send_meeting_invitations)
  File "/usr/local/lib/python2.7/dist-packages/exchangelib/account.py", line 260, in bulk_create
    send_meeting_invitations=send_meeting_invitations,
  File "/usr/local/lib/python2.7/dist-packages/exchangelib/account.py", line 254, in <genexpr>
    i if isinstance(i, Exception)
  File "/usr/local/lib/python2.7/dist-packages/exchangelib/services.py", line 451, in _pool_requests
    elems = r.get()
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 567, in get
    raise self._value
ValueError: 'changekey' is a required field with no default

这是什么问题,我该如何解决?

问题是我设置了conversation_id。如果我只想在同一个对话中显示消息,实际上不需要设置对话 ID。只设置完全相同的主题行似乎就足够了。