Giter VIP home page Giter VIP logo

Comments (3)

claell avatar claell commented on June 24, 2024

After experimenting a little, I saw that sometimes, the subject is a little different from the conversation_topic. For example, in a mailing list, the subject contains "[list-name]" as prefix, whereas conversation_topic doesn't contain that prefix. In the past, I set the reply subject based on the original subject. That then apparently also makes the reply conversation topic to contain the mailing list prefix. In such cases, the reply (draft) is not seen as part of the conversation and has a different conversation_id.

Example:

Original message:
subject: [list-name] some subject
conversation_topic: some subject

Reply (draft) based on the original subject <- this message has a different conversation_id after creating it:
subject: RE: [list-name] some subject
conversation_topic: [list-name] some subject

Reply (draft) created without the mailing list prefix <- this message has the original conversation_id after creating it:
subject: RE: some subject
conversation_topic: some subject

I also found https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-work-with-conversations-by-using-ews-in-exchange

Exchange applies the same ConversationTopic value to replies to the first message and then updates the ConversationIndex value to represent the message's position relative to the original message. If the subject of the email thread changes, Exchange applies a new ConversationTopic value and new ConversationIndex values to the new conversation.

Not sure whether that is connected.

For now, I'll use the conversation topic as base for the reply subject. Hopefully, that will work reliably.

from exchangelib.

ecederstrand avatar ecederstrand commented on June 24, 2024

Thanks for the details investigation! conversation_id and conversation_topic fields are read-only and their value are determined by the Exchange server, as you've also found out.

I'm not sure there's anything more we can do in exchangelib in this area.

from exchangelib.

claell avatar claell commented on June 24, 2024

That's alright. I was mainly looking for ways how to be able to achieve what I want (having Outlook/Exchange treat messages as conversations when I want them to).

Apparently, I found a way (or a cause why it hasn't been the case before for some messages).

Then, I am happy to close this issue again for now.

from exchangelib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.