public function addEmailToOutbox(\sb\Email $email)
    {

        if ($this->checkHeadersForInjection($email)) {
            return 0;
        } else {

            $this->emails[] = $email;

            return true;
        }
    }
public function addEmailToOutbox(\sb\Email $email)
    {

        if ($this->checkHeadersForInjection($email)) {
            return 0;
        } else {

            $this->emails[] = $email;

            return true;
        }
    }
public function addEmailToOutbox ( \ sb \ Email $ email ) { if ( $ this -> checkHeadersForInjection ( $ email ) ) { return 0 ; } else { $ this -> emails [ ] = $ email ; return true ; } }
Adds an email to the outbox which is sent with the send method

@param  \sb\Email $email
@return boolean   false if it has injectors, true if added to outbox
Adds an email to the outbox which is sent with the send method