Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/patientapps_support/vendor/qualityunit/tnef-decoder/src/TNEFDecoder/ |
Upload File : |
<?php namespace TNEFDecoder;
/**
* SquirrelMail TNEF Decoder Plugin
*
* Copyright (c) 2010- Paul Lesniewski <paul@squirrelmail.org>
* Copyright (c) 2003 Bernd Wiegmann <bernd@wib-software.de>
* Copyright (c) 2002 Graham Norburys <gnorbury@bondcar.com>
*
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* @package plugins
* @subpackage tnef_decoder
*
*/
class TNEFMailinfo
{
var $subject;
var $topic;
var $topic_is_unicode = FALSE;
var $from;
var $from_is_unicode = FALSE;
var $from_name;
var $from_name_is_unicode = FALSE;
var $date_sent;
var $code_page = '';
function getTopic()
{
return $this->topic;
}
function getSubject()
{
return $this->subject;
}
function getFrom()
{
return $this->from;
}
function getCodePage()
{
return $this->code_page;
}
function getFromName()
{
return $this->from_name;
}
function getDateSent()
{
return $this->date_sent;
}
function receiveTnefAttribute($attribute, $value, $length)
{
switch($attribute)
{
case TNEF_AOEMCODEPAGE:
$this->code_page = tnef_geti16($value);
break;
case TNEF_ASUBJECT:
$this->subject = substr($value, 0, $length - 1);
break;
case TNEF_ADATERECEIVED:
if (!$this->date_sent)
{
$this->date_sent = new TNEFDate();
$this->date_sent->setTnefBuffer($value);
}
break;
case TNEF_ADATESENT:
$this->date_sent = new TNEFDate();
$this->date_sent->setTnefBuffer($value);
}
}
function receiveMapiAttribute($attr_type, $attr_name, $value, $length, $is_unicode=FALSE)
{
switch($attr_name)
{
case TNEF_MAPI_CONVERSATION_TOPIC:
$this->topic = $value;
if ($is_unicode) $this->topic_is_unicode = TRUE;
break;
case TNEF_MAPI_SENT_REP_EMAIL_ADDR:
$this->from = $value;
if ($is_unicode) $this->from_is_unicode = TRUE;
break;
case TNEF_MAPI_SENT_REP_NAME:
$this->from_name = $value;
if ($is_unicode) $this->from_name_is_unicode = TRUE;
break;
}
}
}