protected function _prepareFromAddress($email)
    {
        $from = $email->getReturnPath();
        if (empty($from)) {
            $from = $email->getFrom();
        }

        return $from;
    }
protected function _prepareFromAddress($email)
    {
        $from = $email->getReturnPath();
        if (empty($from)) {
            $from = $email->getFrom();
        }

        return $from;
    }
protected function _prepareFromAddress ( $ email ) { $ from = $ email -> getReturnPath ( ) ; if ( empty ( $ from ) ) { $ from = $ email -> getFrom ( ) ; } return $ from ; }
Prepares the `from` email address.

@param \Cake\Mailer\Email $email Email instance
@return array
Prepares the from email address .