Zend\Mail\Protocol\Pop3::top
Make TOP call for getting headers and maybe some body lines This method also sets hasTop - before it it's not known if top is supported
The fallback makes normal RETR call, which retrieves the whole message. Additional lines are not removed.
Signature
public function top(int
$msgno,
[int
$lines = 0,
[bool
$fallback = false]] )
Parameters
$msgno
— int- number of message
$lines
— integer- number of wanted body lines (empty line is inserted after header lines)
$fallback
— object- fallback with full retrieve if top is not supported
Returns
- string
- message headers with wanted body lines