public AuthenticationFailedException(message as String = "SMTP authentication failed"):
Creates an authentication failure.
| Parameter | Description |
|---|---|
message | Human-readable error description. |
import klyn.mails
ex = AuthenticationFailedException("Bad credentials")
print(ex.message)