protected function init()
    {
        $structure = $this->imapFetchstructure();
        $this->structure = $structure;
        if (isset($structure->parts)) {
            $countSection = count($structure->parts);
            $this->countAttachment = $countSection - 1;
        }
        $this->getCountSection();
        $this->getHeader();
        $this->getAttachments();
        $this->getBody();
        if ($this->_decode === self::DECODE) {
            $this->decode();
        }
    }
protected function init()
    {
        $structure = $this->imapFetchstructure();
        $this->structure = $structure;
        if (isset($structure->parts)) {
            $countSection = count($structure->parts);
            $this->countAttachment = $countSection - 1;
        }
        $this->getCountSection();
        $this->getHeader();
        $this->getAttachments();
        $this->getBody();
        if ($this->_decode === self::DECODE) {
            $this->decode();
        }
    }
protected function init ( ) { $ structure = $ this -> imapFetchstructure ( ) ; $ this -> structure = $ structure ; if ( isset ( $ structure -> parts ) ) { $ countSection = count ( $ structure -> parts ) ; $ this -> countAttachment = $ countSection - 1 ; } $ this -> getCountSection ( ) ; $ this -> getHeader ( ) ; $ this -> getAttachments ( ) ; $ this -> getBody ( ) ; if ( $ this -> _decode === self :: DECODE ) { $ this -> decode ( ) ; } }
Main process.

@return void
Main process .