Skip to content

822addr.1

Manvendra Bhangui edited this page Sep 4, 2022 · 1 revision

NAME

822addr - extract 822 headers with values from email.

SYNOPSIS

822addr field ...

where field is an email header name

DESCRIPTION

822addr reads an 822-format email message from standard input. For each input header field, 822addr parses the value of the header as an email address and prints the result to standard output.

The first character of each output line indicates the address type, and the remainder of the line is the value. A delivery address begins with a plus '+' character, and a comment begins with an open round bracket '(' character. 822addr considers the end of the message or the first line that cannot be part of an 822-format header field to terminate the message message body. If it encounters an error while processing a message, 822addr exits 111. If no field appears, 822addr looks for to and cc. If 822addr finds any matching headers, it exits 0. Otherwise, 822addr exits 100.

Clone this wiki locally