Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

Pop3UnstuffResponse

function Pop3UnstuffResponse(const aData: tBytes; aLen: Integer; out aBody: tBytes; out aConsumed: Integer; out aTerminated: Boolean): Boolean;
Un-stuffs a multi-line body and finds its terminator. Exposed because it is the piece most worth testing directly: aTerminated says whether CRLF '.' CRLF was reached, aConsumed how many octets of aData the response occupied.