⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
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
/
Compose
/
Exception
/
View File Name :
Address.php
* @category Horde * @copyright 2013-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Compose_Exception_Address extends IMP_Compose_Exception implements Countable, IteratorAggregate { /* Severity level. */ const BAD = 1; const WARN = 2; /** * The list of error addresses. * * @var array */ protected $_addresses = array(); /** * Add an address to the bad list. * * @param Horde_Mail_Rfc822_Object $address Bad address. * @param Exception|string $msg Error message. * @param integer $level Severity level. */ public function addAddress( Horde_Mail_Rfc822_Object $address, $msg, $level = self::BAD ) { $ob = new stdClass; $ob->address = $address; $ob->error = ($msg instanceof Exception) ? $msg->getMessage() : strval($msg); $ob->level = $level; $this->_addresses[] = $ob; } /* Countable method. */ /** * Returns the number of error addresses. * * @return integer The number of error addresses. */ public function count() { return count($this->_addresses); } /* IteratorAggregate method. */ /** */ public function getIterator() { return new ArrayIterator($this->_addresses); } }