⚝
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
/
View File Name :
Message.php
* @category Horde * @copyright 2014-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP * * @property-read IMP_Indices $indices Indices object. * @property-read string $msgid Message-ID. */ class IMP_Maillog_Message { /** * Index of the message. * * @var IMP_Indices */ protected $_indices = null; /** * Message-ID. * * @var string */ protected $_msgid = null; /** * Constructor. * * @param mixed $data See add(). */ public function __construct($data) { $this->add($data); } /** * */ public function add($data) { if ($data instanceof IMP_Indices) { $this->_indices = $data; } else { $this->_msgid = strval($data); } } /** */ public function __toString() { return $this->msgid; } /** */ public function __get($name) { switch ($name) { case 'indices': return $this->_indices; case 'msgid': if (!$this->_msgid) { list($mbox, $uid) = $this->indices->getSingle(); $query = new Horde_Imap_Client_Fetch_Query(); $query->envelope(); $imp_imap = $mbox->imp_imap; $ret = $imp_imap->fetch($mbox, $query, array( 'ids' => $imp_imap->getIdsOb($uid) )); $this->_msgid = ($ob = $ret->first()) ? $ob->getEnvelope()->message_id : ''; } return $this->_msgid; } } }