src/Expose/Notify/Email.php
public function setFromAddress($emailAddress)
    {
        if (filter_var($emailAddress, FILTER_VALIDATE_EMAIL) !== $emailAddress) {
            throw new \InvalidArgumentException('Invalid email address: '.$emailAddress);
        }
        $this->fromAddress = $emailAddress;
    }
public function setFromAddress($emailAddress)
    {
        if (filter_var($emailAddress, FILTER_VALIDATE_EMAIL) !== $emailAddress) {
            throw new \InvalidArgumentException('Invalid email address: '.$emailAddress);
        }
        $this->fromAddress = $emailAddress;
    }
public function setFromAddress ( $ emailAddress ) { if ( filter_var ( $ emailAddress , FILTER_VALIDATE_EMAIL ) !== $ emailAddress ) { throw new \ InvalidArgumentException ( 'Invalid email address: ' . $ emailAddress ) ; } $ this -> fromAddress = $ emailAddress ; }
Set the current "From" email address on notifications

@param string $emailAddress Email address
Set the current From email address on notifications