public function setFrom($address, $name = null) : EmailInterface
    {
        // When using mail/sendmail, we need to set the PHPMailer "auto" flag to false
        // https://github.com/PHPMailer/PHPMailer/issues/1634
        $this->mailer->setFrom($address, $name, false);

        return $this;
    }
public function setFrom($address, $name = null) : EmailInterface
    {
        // When using mail/sendmail, we need to set the PHPMailer "auto" flag to false
        // https://github.com/PHPMailer/PHPMailer/issues/1634
        $this->mailer->setFrom($address, $name, false);

        return $this;
    }
public function setFrom ( $ address , $ name = null ) : EmailInterface { // When using mail/sendmail, we need to set the PHPMailer "auto" flag to false // https://github.com/PHPMailer/PHPMailer/issues/1634 $ this -> mailer -> setFrom ( $ address , $ name , false ) ; return $ this ; }
Set From Address

@param  string  $address From email address
@param  string  $name    Sender name, optional
@return object  $this    EmailInterface
Set From Address