[horde] log when email is deleted
Jan Schneider
jan at horde.org
Thu Feb 15 22:06:51 UTC 2018
Zitat von Mike Poznecki <poz_sa at yahoo.com>:
> Hi, I would like to write to the log every time someone deletes an
> email. Where is the best place in code to write out to the log
> using Horde::log? I was looking in Socket.php but I"m not sure if
> that is where to put it. (or what function to put it in.) Thanks.
Horde_Imap_Client_Socket might indeed be a good place because it's
used for all IMAP communication across Horde. So you are sure to catch
all kind of deletions. That would be in the _deleteMsgs() method then.
--
Jan Schneider
The Horde Project
https://www.horde.org/
More information about the horde
mailing list