MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / SMTPSenderRefused

Class SMTPSenderRefused

tools/python-3.11.9-amd64/Lib/smtplib.py:104–115  ·  view source on GitHub ↗

Sender address refused. In addition to the attributes set by on all SMTPResponseException exceptions, this sets `sender' to the string that the SMTP refused.

Source from the content-addressed store, hash-verified

102 self.args = (code, msg)
103
104class SMTPSenderRefused(SMTPResponseException):
105 """Sender address refused.
106
107 In addition to the attributes set by on all SMTPResponseException
108 exceptions, this sets `sender' to the string that the SMTP refused.
109 """
110
111 def __init__(self, code, msg, sender):
112 self.smtp_code = code
113 self.smtp_error = msg
114 self.sender = sender
115 self.args = (code, msg, sender)
116
117class SMTPRecipientsRefused(SMTPException):
118 """All recipient addresses refused.

Callers 1

sendmailMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected