SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_command Event

Reports a command sent to the server.

Syntax

class SMTPClientCommandEventParams(object):
  @property
  def cmd() -> str: ...

# In class SMTPClient:
@property
def on_command() -> Callable[[SMTPClientCommandEventParams], None]: ...
@on_command.setter
def on_command(event_hook: Callable[[SMTPClientCommandEventParams], None]) -> None: ...

Remarks

The class fires this event whenever it sends an SMTP command to the server. Use on_command_reply to track the server's responses.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Python Edition - Version 20.0 [Build 8154]