Comments (4)
Oh, that's easy: just look for the In-Reply-To
header, if it's there it's a reply
from imap.
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:
- The answer doesn't depend on this library, which is merely an OOP interface to the
imap
protocol - Try to leverage the headers diff between an original mail and its replies; for example, I see that replies commonly have
In-Reply-To
orThread-Index
headers, which original mails don't
from imap.
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.
Thanks man!
I should have thought of it!
from imap.
Related Issues (20)
- Question about the dates HOT 1
- New "References:" formatting in headers processed by Exchange?
- Variable in Search not working.
- getFilename() returns NULL for long attachment filenames
- How can I retrieve single mail HOT 1
- Google imap no longer supports username and password authentication. HOT 1
- Oauth2 problem HOT 1
- Supplied resource is not a valid imap resource HOT 1
- Wrong post
- imap_sort(): Argument #3 ($reverse) HOT 1
- mb_convert_encoding(): Illegal character encoding specified HOT 4
- Backporting https://github.com/ddeboer/imap/pull/546 to PHP7.4 HOT 1
- Is there any way to add multiple 'oRcondition' in SearchExpression with From Address HOT 1
- Running into intermittent "Cannot reopen mailbox XYZ" HOT 2
- PHP 8.2 compatibility HOT 2
- Imap Codeigniter 4 HOT 2
- Can't retrieve headers from RFC822-HEADERS subpart HOT 2
- output abort message
- Move message to another account HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imap.