public function setSenderEmailAddress($email)
    {
        if (!$this->validateHeaderFieldValue($email)) {
            throw new EmailValidationException(__('Sender Email Address can not contain carriage return or newlines.'));
        }

        $this->_sender_email_address = $email;
    }
public function setSenderEmailAddress($email)
    {
        if (!$this->validateHeaderFieldValue($email)) {
            throw new EmailValidationException(__('Sender Email Address can not contain carriage return or newlines.'));
        }

        $this->_sender_email_address = $email;
    }
public function setSenderEmailAddress ( $ email ) { if ( ! $ this -> validateHeaderFieldValue ( $ email ) ) { throw new EmailValidationException ( __ ( 'Sender Email Address can not contain carriage return or newlines.' ) ) ; } $ this -> _sender_email_address = $ email ; }
Sets the sender-email.

@throws EmailValidationException
@param string $email
The email-address emails will be sent from.
@return void
Sets the sender - email .