mimeEntityGetRawHeaderSectionSize

SYNOPSIS

int64 mimeEntityGetRawHeaderSectionSize(mimeEntity entityOrReader)

Parameters:

  • entityOrReader - A mimeEntity or mimeReader object

Returns:

  • int64 byte size of raw (original encoded) header section of entity


DESCRIPTION
The mimeEntityGetRawHeaderSectionSize function returns the int64 byte size of the raw (original encoded) header section (i.e. all headers) of the entity. This can be used for debugging purposes, e.g. analyzing the structure of a message.


EXAMPLE

<$ret = (mimeEntityGetRawHeaderSectionSize($reader))>


CAVEATS
Typically mimeEntityGetHeaderValues (here) is used instead, as it decodes the headers and returns only the one specified.


SEE ALSO
mimeEntityGetHeaderValues


Copyright © Thunderstone Software     Last updated: Jul 17 2021
Copyright © 2021 Thunderstone Software LLC. All rights reserved.