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