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: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.