original_string: protected function _prepareFromAddress($email)
      {
          $from = $email->getReturnPath();
          if (empty($from)) {
              $from = $email->getFrom();
          }
  
          return $from;
      }
code: protected function _prepareFromAddress($email)
      {
          $from = $email->getReturnPath();
          if (empty($from)) {
              $from = $email->getFrom();
          }
  
          return $from;
      }
code_tokens: protected function _prepareFromAddress ( $ email ) { $ from = $ email -> getReturnPath ( ) ; if ( empty ( $ from ) ) { $ from = $ email -> getFrom ( ) ; } return $ from ; }
docstring: Prepares the `from` email address.
  
  @param \Cake\Mailer\Email $email Email instance
  @return array
docstring_tokens: Prepares the from email address .