⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
imp
/
lib
/
Maillog
/
Storage
/
View File Name :
Mdnsent.php
* @category Horde * @copyright 2014-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Maillog_Storage_Mdnsent extends IMP_Maillog_Storage_Base { /** */ public function saveLog( IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log ) { global $injector; if (!$msg->indices || ($log->action != 'mdn')) { return false; } list($mbox, $uid) = $msg->indices->getSingle(); return $injector->getInstance('IMP_Message')->flag(array( 'add' => array(Horde_Imap_Client::FLAG_MDNSENT) ), $mbox->getIndicesOb($uid), array( 'silent' => true )); } /** */ public function getLog(IMP_Maillog_Message $msg, array $filter = array()) { if (!$msg->indices || in_array('mdn', $filter)) { return array(); } list($mbox, $uid) = $msg->indices->getSingle(); if (!$mbox->permflags->allowed(Horde_Imap_Client::FLAG_MDNSENT)) { return array(); } $query = new Horde_Imap_Client_Fetch_Query(); $query->flags(); $imp_imap = $mbox->imp_imap; try { $first = $imp_imap->fetch($mbox, $query, array( 'ids' => $imp_imap->getIdsOb($uid) ))->first(); if ($first) { $flags = $first->getFlags(); } else { $flags = array(); } } catch (IMP_Imap_Exception $e) { $flags = array(); } return in_array(Horde_Imap_Client::FLAG_MDNSENT, $flags) ? array(new IMP_Maillog_Log_Mdn()) : array(); } /** */ public function deleteLogs($msgs) { /* Deleting a message takes care of this. */ } /** */ public function getChanges($ts) { /* No timestamp support for this driver. */ return array(); } }