Component/MailManager.php
public function getSender()
    {
        $sender = $this->createSender();

        $sender->setFrom($this->fromEmail, $this->fromName);

        if ($this->replyToEmail) {
            $sender->setReplyTo($this->replyToEmail);
        }

        return $sender;
    }
public function getSender()
    {
        $sender = $this->createSender();

        $sender->setFrom($this->fromEmail, $this->fromName);

        if ($this->replyToEmail) {
            $sender->setReplyTo($this->replyToEmail);
        }

        return $sender;
    }
public function getSender ( ) { $ sender = $ this -> createSender ( ) ; $ sender -> setFrom ( $ this -> fromEmail , $ this -> fromName ) ; if ( $ this -> replyToEmail ) { $ sender -> setReplyTo ( $ this -> replyToEmail ) ; } return $ sender ; }
Creates a sender instance and sets the from email & name
and reply to address.

@return MailSender
Creates a sender instance and sets the from email & name and reply to address .