src/Smtp.php
protected function getAlternativeAttachmentBody()
    {
        $alternative    = $this->getAlternativeBody();

        $body = array();
        $body[] = 'Content-Type: multipart/mixed; boundary="'.$this->boundary[1].'"';
        $body[] = null;
        $body[] = '--'.$this->boundary[1];

        foreach ($alternative as $line) {
            $body[] = $line;
        }

        return $this->addAttachmentBody($body);
    }
protected function getAlternativeAttachmentBody()
    {
        $alternative    = $this->getAlternativeBody();

        $body = array();
        $body[] = 'Content-Type: multipart/mixed; boundary="'.$this->boundary[1].'"';
        $body[] = null;
        $body[] = '--'.$this->boundary[1];

        foreach ($alternative as $line) {
            $body[] = $line;
        }

        return $this->addAttachmentBody($body);
    }
protected function getAlternativeAttachmentBody ( ) { $ alternative = $ this -> getAlternativeBody ( ) ; $ body = array ( ) ; $ body [ ] = 'Content-Type: multipart/mixed; boundary="' . $ this -> boundary [ 1 ] . '"' ; $ body [ ] = null ; $ body [ ] = '--' . $ this -> boundary [ 1 ] ; foreach ( $ alternative as $ line ) { $ body [ ] = $ line ; } return $ this -> addAttachmentBody ( $ body ) ; }
Adds the attachment string body
for HTML formatted emails

@return array
Adds the attachment string body for HTML formatted emails