Internal 'rset' command which ignores any SMTPServerDisconnected error. Used internally in the library, since the server disconnected error should appear to the application when the *next* command is issued, if we are doing an internal "safety" reset.
(self)
| 509 | return self.docmd("rset") |
| 510 | |
| 511 | def _rset(self): |
| 512 | """Internal 'rset' command which ignores any SMTPServerDisconnected error. |
| 513 | |
| 514 | Used internally in the library, since the server disconnected error |
| 515 | should appear to the application when the *next* command is issued, if |
| 516 | we are doing an internal "safety" reset. |
| 517 | """ |
| 518 | try: |
| 519 | self.rset() |
| 520 | except SMTPServerDisconnected: |
| 521 | pass |
| 522 | |
| 523 | def noop(self): |
| 524 | """SMTP 'noop' command -- doesn't do anything :>""" |