message-fetch-field

message-fetch-field is an autoloaded compiled Lisp function in `message.el'.

(message-fetch-field HEADER &optional NOT-ALL)

The same as `mail-fetch-field', only remove all newlines.
The buffer is expected to be narrowed to just the header of the message;
see `message-narrow-to-headers-or-head'.