#4932: mail component no boundary with sandAs=both
    Reporter:  stefanski   |         Owner:              
        Type:  Bug         |        Status:  closed      
    Priority:  Medium      |     Milestone:  1.2.x.x     
   Component:  Components  |       Version:  RC1         
    Severity:  Normal      |    Resolution:  needmoreinfo
    Keywords:              |   Php_version:  n/a         
Cake_version:              |  
Comment (by nescha):

 Of course, some of the code can and should be moved to:
         function __formatMessage($message) {
                 if (!empty($this->attachments)) {
                         $prefix = array(
                                 '--' . $this->__boundary,
                                 'Content-Type: text/plain; charset=' .
                                 'Content-Transfer-Encoding: 7bit',
                         $message = array_merge($prefix, $message);
                 } elseif ($this->sendAs === 'both') {
                         $prefix = array('--' . $this->__boundary);
                         $message = array_merge($prefix, $message);
                 return $message;

Ticket URL: <https://trac.cakephp.org/ticket/4932#comment:6>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to