Retrieve message header of message number 'which' and first 'howmuch' lines of message body. Result is in form ['response', ['line', ...], octets].
(self, which, howmuch)
| 348 | |
| 349 | |
| 350 | def top(self, which, howmuch): |
| 351 | """Retrieve message header of message number 'which' |
| 352 | and first 'howmuch' lines of message body. |
| 353 | |
| 354 | Result is in form ['response', ['line', ...], octets]. |
| 355 | """ |
| 356 | return self._longcmd('TOP %s %s' % (which, howmuch)) |
| 357 | |
| 358 | |
| 359 | def uidl(self, which=None): |