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)
| 516 | return self.docmd("rset") |
| 517 | |
| 518 | def _rset(self): |
| 519 | """Internal 'rset' command which ignores any SMTPServerDisconnected error. |
| 520 | |
| 521 | Used internally in the library, since the server disconnected error |
| 522 | should appear to the application when the *next* command is issued, if |
| 523 | we are doing an internal "safety" reset. |
| 524 | """ |
| 525 | try: |
| 526 | self.rset() |
| 527 | except SMTPServerDisconnected: |
| 528 | pass |
| 529 | |
| 530 | def noop(self): |
| 531 | """SMTP 'noop' command -- doesn't do anything :>""" |