on_before_auth Event
Fires before the authentication starts.
Syntax
class SMTPClientBeforeAuthEventParams(object): # In class SMTPClient: @property def on_before_auth() -> Callable[[SMTPClientBeforeAuthEventParams], None]: ... @on_before_auth.setter def on_before_auth(event_hook: Callable[[SMTPClientBeforeAuthEventParams], None]) -> None: ...
Remarks
The class fires this event when it has established the TCP connection and is ready to proceed to the user authentication step.