lib/mail/Mail.php
public function addSection($key, $value = null)
    {
        if ($key instanceof Section) {
            $section = $key;
            $this->sections[$section->getKey()]
                = $section->getValue();
            return;
        }
        $this->sections[$key] = (string)$value;
    }
public function addSection($key, $value = null)
    {
        if ($key instanceof Section) {
            $section = $key;
            $this->sections[$section->getKey()]
                = $section->getValue();
            return;
        }
        $this->sections[$key] = (string)$value;
    }
public function addSection ( $ key , $ value = null ) { if ( $ key instanceof Section ) { $ section = $ key ; $ this -> sections [ $ section -> getKey ( ) ] = $ section -> getValue ( ) ; return ; } $ this -> sections [ $ key ] = ( string ) $ value ; }
Add a section to a Mail object

@param string|Section $key Key or Section object
@param string|null $value Value
Add a section to a Mail object