def _dispatch_commands(self, from_state, to_state, smtp_command):
<EOL>name_handler_method = '<STR_LIT>' % smtp_command.lower().replace('<STR_LIT:U+0020>', '<STR_LIT:_>')<EOL>try:<EOL><INDENT>handler_method = getattr(self, name_handler_method)<EOL><DEDENT>except AttributeError:<EOL><INDENT>self.reply(<NUM_LIT>, '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>handler_method()<EOL><DEDENT>
This method dispatches a SMTP command to the appropriate handler
        method. It is called after a new command was received and a valid
        transition was found.