public function createBody()
    {
        $this->envelope['date'] = '29.03.2017';
        $this->envelope['message_id'] = '81';

        $part1['type'] = TYPEMULTIPART;
        $part1['subtype'] = 'mixed';

        $part3['type'] = TYPETEXT;
        $part3['subtype'] = 'plain';
        $part3['description'] = 'description3';
        $part3['contents.data'] = "contents.data3\n\n\n\t";

        $body[1] = $part1;
        //$body[2] = $part2;
        $body[3] = $part3;

        $this->body = $body;
    }
public function createBody()
    {
        $this->envelope['date'] = '29.03.2017';
        $this->envelope['message_id'] = '81';

        $part1['type'] = TYPEMULTIPART;
        $part1['subtype'] = 'mixed';

        $part3['type'] = TYPETEXT;
        $part3['subtype'] = 'plain';
        $part3['description'] = 'description3';
        $part3['contents.data'] = "contents.data3\n\n\n\t";

        $body[1] = $part1;
        //$body[2] = $part2;
        $body[3] = $part3;

        $this->body = $body;
    }
public function createBody ( ) { $ this -> envelope [ 'date' ] = '29.03.2017' ; $ this -> envelope [ 'message_id' ] = '81' ; $ part1 [ 'type' ] = TYPEMULTIPART ; $ part1 [ 'subtype' ] = 'mixed' ; $ part3 [ 'type' ] = TYPETEXT ; $ part3 [ 'subtype' ] = 'plain' ; $ part3 [ 'description' ] = 'description3' ; $ part3 [ 'contents.data' ] = "contents.data3\n\n\n\t" ; $ body [ 1 ] = $ part1 ; //$body[2] = $part2; $ body [ 3 ] = $ part3 ; $ this -> body = $ body ; }
Create body.

@return void
Create body .