Close currently selected mailbox. Deleted messages are removed from writable mailbox. This is the recommended command before 'LOGOUT'. (typ, [data]) = .close()
(self)
| 545 | |
| 546 | |
| 547 | def close(self): |
| 548 | """Close currently selected mailbox. |
| 549 | |
| 550 | Deleted messages are removed from writable mailbox. |
| 551 | This is the recommended command before 'LOGOUT'. |
| 552 | |
| 553 | (typ, [data]) = <instance>.close() |
| 554 | """ |
| 555 | try: |
| 556 | typ, dat = self._simple_command('CLOSE') |
| 557 | finally: |
| 558 | self.state = 'AUTH' |
| 559 | return typ, dat |
| 560 | |
| 561 | |
| 562 | def copy(self, message_set, new_mailbox): |
no test coverage detected