mimeEntityGetRawHeaderSectionOffset

SYNOPSIS

int64 mimeEntityGetRawHeaderSectionOffset(mimeEntity entityOrReader)

Parameters:

  • entityOrReader - A mimeEntity or mimeReader object

Returns:

  • int64 byte offset of raw (original encoded) header section of entity in message


DESCRIPTION
The mimeEntityGetRawHeaderSectionOffset function returns the int64 byte offset of the raw (original encoded) header section (i.e. all headers) of the entity, as an offset into the overall message (not entity). This can be used for debugging purposes, e.g. analyzing the structure of a message.


EXAMPLE

<$ret = (mimeEntityGetRawHeaderSectionOffset($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: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.