Webklex / laravel-imap

Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app.
https://www.php-imap.com
MIT License
637 stars 182 forks source link

How to Display Emails conversation through email threading #457

Closed raubinjake closed 2 years ago

raubinjake commented 2 years ago

Did you manage to get the solution? I am searching for a way to figure out if a message is part of a thread / reply?

Webklex commented 2 years ago

Hi @raubinjake , you can call Message::thread():

/** @var \Webklex\PHPIMAP\Message $message */
$thread = $message->thread();

Additional documentation can be found here: https://www.php-imap.com/api/message

If you have any further question or want to report a bug, please head over to https://github.com/Webklex/php-imap/issues unless they are related to this laravel wrapper. Doing so allows anyone else having the same question or issue to search through the issue section to possibly finding your post instead of creating a new one :)

Best regards & happy coding,