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

Class SMTPRecipientsRefused

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

All recipient addresses refused. The errors for each recipient are accessible through the attribute 'recipients', which is a dictionary of exactly the same sort as SMTP.sendmail() returns.

Source from the content-addressed store, hash-verified

115 self.args = (code, msg, sender)
116
117class SMTPRecipientsRefused(SMTPException):
118 """All recipient addresses refused.
119
120 The errors for each recipient are accessible through the attribute
121 'recipients', which is a dictionary of exactly the same sort as
122 SMTP.sendmail() returns.
123 """
124
125 def __init__(self, recipients):
126 self.recipients = recipients
127 self.args = (recipients,)
128
129
130class SMTPDataError(SMTPResponseException):

Callers 1

sendmailMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected