ExtractEmailHeaders 2025.10.2.19¶
バンドル¶
org.apache.nifi | nifi-email-nar
説明¶
Using the flowfile content as source of data, extract header from an RFC compliant email file adding the relevant attributes to the flowfile. This processor does not perform extensive RFC validation but still requires a bare minimum compliance with RFC 2822
入力要件¶
REQUIRED
機密動的プロパティをサポート¶
false
プロパティ¶
プロパティ |
説明 |
|---|---|
CAPTURED_HEADERS |
COLON separated list of additional headers to be extracted from the flowfile content. NOTE the header key is case insensitive and will be matched as lower-case. Values will respect email contents. |
STRICT_ADDRESS_PARSING |
"strict" の場合、 "to" や "from" ヘッダーのようなメールボックスやメールボックスリストのフィールドに厳密なアドレス形式解析ルールが適用され、 RFC 準拠の形式検証に失敗したメッセージと同様に、アドレスの形式が不十分な FlowFiles は失敗関係にルーティングされます。もし "non-strict "なら、プロセッサーはメールボックス リスト ヘッダーの内容をカンマ区切りの値として取り出し、それぞれの値を整形式のインターネットメールボックスアドレスとして解析しようとしません。これはオプションで、デフォルトは Strict Address Parsing です。 |
リレーションシップ¶
名前 |
説明 |
|---|---|
failure |
RFC-2822準拠のメッセージとして解析できなかったフローファイル |
success |
抽出は成功 |
属性の書き込み¶
名前 |
説明 |
|---|---|
email.headers.bcc.* |
各 BCC 受領者(利用可能な場合) |
email.headers.cc.* |
各 CC 受領者(利用可能な場合) |
email.headers.from.* |
メールの From に含まれる個々のメールボックス (RFC-2822 に従った配列) |
email.headers.message-id |
Message-ID ヘッダーの値 (利用可能な場合) |
email.headers.received_date |
メッセージの Received-Date (利用可能な場合) |
email.headers.sent_date |
メッセージの送信日 |
email.headers.subject |
メッセージの件名(利用可能な場合) |
email.headers.to.* |
各 TO 受領者(利用可能な場合) |
email.attachment_count |
メッセージの添付ファイルの数 |