Close currently selected mailbox. Deleted messages are removed from writable mailbox. This is the recommended command before 'LOGOUT'. (typ, [data]) = .close()
(self)
| 464 | |
| 465 | |
| 466 | def close(self): |
| 467 | """Close currently selected mailbox. |
| 468 | |
| 469 | Deleted messages are removed from writable mailbox. |
| 470 | This is the recommended command before 'LOGOUT'. |
| 471 | |
| 472 | (typ, [data]) = <instance>.close() |
| 473 | """ |
| 474 | try: |
| 475 | typ, dat = self._simple_command('CLOSE') |
| 476 | finally: |
| 477 | self.state = 'AUTH' |
| 478 | return typ, dat |
| 479 | |
| 480 | |
| 481 | def copy(self, message_set, new_mailbox): |
no test coverage detected