protected function decodeBody()
    {
        if(is_object($this->message)){
            foreach ($this->message->types as $typeMessage) {
                if(is_object($this->message->$typeMessage)){
                    switch ($this->message->$typeMessage->structure->encoding) {
                        case 3:
                            $this->message->$typeMessage->body = imap_base64($this->message->$typeMessage->body);
                            break;
                        case 4:
                            $this->message->$typeMessage->body = imap_qprint($this->message->$typeMessage->body);
                            break;
                    }
                }

                if(is_object($this->message->$typeMessage)){
                    if ($this->message->$typeMessage->charset) {
                        $this->message->$typeMessage->body = $this->convertToUtf8($this->message->$typeMessage->body, $this->message->$typeMessage->charset);
                    }
                }
            }
        }
    }
protected function decodeBody()
    {
        if(is_object($this->message)){
            foreach ($this->message->types as $typeMessage) {
                if(is_object($this->message->$typeMessage)){
                    switch ($this->message->$typeMessage->structure->encoding) {
                        case 3:
                            $this->message->$typeMessage->body = imap_base64($this->message->$typeMessage->body);
                            break;
                        case 4:
                            $this->message->$typeMessage->body = imap_qprint($this->message->$typeMessage->body);
                            break;
                    }
                }

                if(is_object($this->message->$typeMessage)){
                    if ($this->message->$typeMessage->charset) {
                        $this->message->$typeMessage->body = $this->convertToUtf8($this->message->$typeMessage->body, $this->message->$typeMessage->charset);
                    }
                }
            }
        }
    }
protected function decodeBody ( ) { if ( is_object ( $ this -> message ) ) { foreach ( $ this -> message -> types as $ typeMessage ) { if ( is_object ( $ this -> message -> $ typeMessage ) ) { switch ( $ this -> message -> $ typeMessage -> structure -> encoding ) { case 3 : $ this -> message -> $ typeMessage -> body = imap_base64 ( $ this -> message -> $ typeMessage -> body ) ; break ; case 4 : $ this -> message -> $ typeMessage -> body = imap_qprint ( $ this -> message -> $ typeMessage -> body ) ; break ; } } if ( is_object ( $ this -> message -> $ typeMessage ) ) { if ( $ this -> message -> $ typeMessage -> charset ) { $ this -> message -> $ typeMessage -> body = $ this -> convertToUtf8 ( $ this -> message -> $ typeMessage -> body , $ this -> message -> $ typeMessage -> charset ) ; } } } } }
Decode body.

@return void
Decode body .