mimeEntityGetRawHeaderValues

SYNOPSIS

varstrlst mimeEntityGetRawHeaderValues(mimeEntity entityOrReader,
                                       varchar headerName)

Parameters:

  • entityOrReader - A mimeEntity or mimeReader object

  • headerName - The varchar name of the header

Returns:

  • varchar raw (original encoded) header named `headerName`


DESCRIPTION
The mimeEntityGetRawHeaderValues function returns the full value(s) of the header named headerName from the entity, as a varstrlst list. Note that the value(s) returned are raw, i.e. neither unfolded nor decoded. This function can be used for debugging purposes, e.g. analyzing the structure of a message.


EXAMPLE

<$ret = (mimeEntityGetRawHeaderValues($reader, "To" ))>


CAVEATS
Typically mimeEntityGetHeaderValues (here) is used instead, as it decodes the headers.


SEE ALSO
mimeEntityGetHeaderValues


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.