Git Product home page Git Product logo

Comments (4)

Slamdunk avatar Slamdunk commented on June 12, 2024 1

Oh, that's easy: just look for the In-Reply-To header, if it's there it's a reply

from imap.

Slamdunk avatar Slamdunk commented on June 12, 2024

Hi, the topic of this issue and its content differ: what are you trying to achieve, fetching non-replied messages or messages without replies, regardless if they have replies or not?

Btw, honestly I have no idea. What I can tell you is:

  1. The answer doesn't depend on this library, which is merely an OOP interface to the imap protocol
  2. Try to leverage the headers diff between an original mail and its replies; for example, I see that replies commonly have In-Reply-To or Thread-Index headers, which original mails don't

from imap.

flaviorib-dev avatar flaviorib-dev commented on June 12, 2024

Hi man! Thanks for or reply!

After you mention, I realized the difference between the topic and its content. My mistake.

I have an application that registers tickets on a ticket system from an email shipping. Sometimes people reply to the emails so it happens the system ends up opening a new ticket (should be only one ticket by e-mail, does not matter how many replies the message may have).
If I could know if a message is a reply I could treat de behavior accordingly my needs.

from imap.

flaviorib-dev avatar flaviorib-dev commented on June 12, 2024

Thanks man!

I should have thought of it!

from imap.

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.