@ . var $sender; // array of recievers address in regular format var $arrRecievers = Array(); // array of CC recievers address in regular format var $arrCCRecievers = Array(); // is true, if x_original_to header is set in appropriate message var $X_ORIGINAL_TO; var $header; var $body; var $plain_body; var $messageSize; // opens the file containing email message // and reads all its contant as RAW into $this->content function readEmailFile() /* {{{ */ { @$fp = fopen($this->filename, "r"); if (!$fp) { echo "Error: unable to open file '".$filename."'\n"; exit; } $this->messageSize = filesize($this->filename); @$this->content = fread( $fp, $this->messageSize); if (!$this->content) { echo "Error: unable to read file '".$this->filename."'\n"; exit; } fclose($fp); } /* }}} */ } // temporary object used by CReceiver // contains modified headers (prefixed subject, attached signature, etc) // stores all necessary datas for archivation (mylist_messages table), inserting into queue (mylist_queue_messages table), indexing (mylist_search_index table) class CModifiedEmailMessage { var $header; // queue var $body; // queue var $messageID; // archive var $dt_received; // archive var $dt_header; // archive var $from; // archive var $subject; // archive } /* Modeline for ViM {{{ * vim: set ts=4: * vim600: fdm=marker fdl=0 fdc=0: * }}} */ ?>