lib/classes/Swift/Mime/SimpleMimeEntity.php
protected function fixHeaders()
    {
        if (count($this->immediateChildren)) {
            $this->setHeaderParameter('Content-Type', 'boundary',
                $this->getBoundary()
                );
            $this->headers->remove('Content-Transfer-Encoding');
        } else {
            $this->setHeaderParameter('Content-Type', 'boundary', null);
            $this->setEncoding($this->encoder->getName());
        }
    }
protected function fixHeaders()
    {
        if (count($this->immediateChildren)) {
            $this->setHeaderParameter('Content-Type', 'boundary',
                $this->getBoundary()
                );
            $this->headers->remove('Content-Transfer-Encoding');
        } else {
            $this->setHeaderParameter('Content-Type', 'boundary', null);
            $this->setEncoding($this->encoder->getName());
        }
    }
protected function fixHeaders ( ) { if ( count ( $ this -> immediateChildren ) ) { $ this -> setHeaderParameter ( 'Content-Type' , 'boundary' , $ this -> getBoundary ( ) ) ; $ this -> headers -> remove ( 'Content-Transfer-Encoding' ) ; } else { $ this -> setHeaderParameter ( 'Content-Type' , 'boundary' , null ) ; $ this -> setEncoding ( $ this -> encoder -> getName ( ) ) ; } }
Re-evaluate what content type and encoding should be used on this entity.
Re - evaluate what content type and encoding should be used on this entity .