protected function setSendMethodAttr($value, $isDirty = true)
    {
        if (!in_array($value, array('hand', 'email', 'post'))) {
            throw new InvalidMethodException('Invalid send method: ' . $value);
        }

        $this->sendMethod = $value;
        $this->setDirtyState($isDirty, 'sendMethod');
    }