MIME_HEADER_DECODE

Decodes email header fields encoded in accordance with RFC 2047.

Syntax 

MIME_HEADER_DECODE(encoded_string, target_encoding = "utf-8")

Usage 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>"
Was this helpful?