SYNOPSISvarstrlst mimeEntityGetRawHeaderValues(mimeEntity entityOrReader,
varchar headerName)
Parameters:
entityOrReader
- A mimeEntity
or
mimeReader
objectheaderName
- 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 ALSOmimeEntityGetHeaderValues