You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-02-16 17:16:49

Kaya84
Member
Registered: 2019-06-13
Posts: 217

Refused mail archive folder: set to unread

Hi,
I looked all'over but didn't find what I'm looking for.

When I have a refused mail, it will be moved in a inbox specific subfolder (IMAP).
The mail will have the "READ" flag .
Is it possibile to set the UNREAD imap flag ?

I digged in the code and found that in MailCollector.php line 1820:

                $this->storage->moveMessage($this->storage->getNumberByUniqueId($uid), $name);

Will adding a line like that work?

                $this->storage-> setFlags($this->storage->getNumberByUniqueId($uid), Mail\Storage::FLAG_UNSEEN);

Last edited by Kaya84 (2023-02-16 17:26:49)

Offline

Board footer

Powered by FluxBB