MIME_HEADER_DECODE
Decodes email header fields encoded in accordance with RFC 2047.
Categories: Data Parsing/Conversion
Syntax
MIME_HEADER_DECODE(encoded_string, target_encoding = "utf-8")
Examples
Example 1
Formula
MIME_HEADER_DECODE(encoded_string, target_encoding = "utf-8")
Output
"Decoded email header field"
Example 2
Formula
MIME_HEADER_DECODE("=?US-ASCII?Q?John_Smith?= <smith / gmail.com>")
Output
"John Smith <smith / gmail.com>"