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.
| 113 | self.args = (code, msg, sender) |
| 114 | |
| 115 | class SMTPRecipientsRefused(SMTPException): |
| 116 | """All recipient addresses refused. |
| 117 | |
| 118 | The errors for each recipient are accessible through the attribute |
| 119 | 'recipients', which is a dictionary of exactly the same sort as |
| 120 | SMTP.sendmail() returns. |
| 121 | """ |
| 122 | |
| 123 | def __init__(self, recipients): |
| 124 | self.recipients = recipients |
| 125 | self.args = (recipients,) |
| 126 | |
| 127 | |
| 128 | class SMTPDataError(SMTPResponseException): |
no outgoing calls
no test coverage detected
searching dependent graphs…