original_string: public function setFromToDefaultFrom() {
          $from = self::getDefaultFrom();
          if($from === null) {
              // require_once 'Zend/Mail/Exception.php';
              throw new Zend_Mail_Exception(
                  'No default From Address set to use');
          }
  
          $this->setFrom($from['email'], $from['name']);
  
          return $this;
      }
code: public function setFromToDefaultFrom() {
          $from = self::getDefaultFrom();
          if($from === null) {
              // require_once 'Zend/Mail/Exception.php';
              throw new Zend_Mail_Exception(
                  'No default From Address set to use');
          }
  
          $this->setFrom($from['email'], $from['name']);
  
          return $this;
      }
code_tokens: public function setFromToDefaultFrom ( ) { $ from = self :: getDefaultFrom ( ) ; if ( $ from === null ) { // require_once 'Zend/Mail/Exception.php'; throw new Zend_Mail_Exception ( 'No default From Address set to use' ) ; } $ this -> setFrom ( $ from [ 'email' ] , $ from [ 'name' ] ) ; return $ this ; }
docstring: Sets From-name and -email based on the defaults
  
  @return Zend_Mail Provides fluent interface
docstring_tokens: Sets From - name and - email based on the defaults