Retrieve message header of message number 'which' and first 'howmuch' lines of message body. Result is in form ['response', ['line', ...], octets].
(self, which, howmuch)
| 337 | |
| 338 | |
| 339 | def top(self, which, howmuch): |
| 340 | """Retrieve message header of message number 'which' |
| 341 | and first 'howmuch' lines of message body. |
| 342 | |
| 343 | Result is in form ['response', ['line', ...], octets]. |
| 344 | """ |
| 345 | return self._longcmd('TOP %s %s' % (which, howmuch)) |
| 346 | |
| 347 | |
| 348 | def uidl(self, which=None): |