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

태그

email, split

입력 요구 사항

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” 헤더와 같은 사서함 및 사서함 목록 필드에 엄격한 주소 형식 구문 분석 규칙이 적용되며 주소가 잘못 구성된 FlowFiles 은 RFC 준수 형식 유효성 검사에 실패한 메시지와 유사하게 실패 관계로 라우팅됩니다. “non-strict”인 경우 프로세서는 각 값을 올바른 형식의 인터넷 사서함 주소로 구문 분석하지 않고 사서함 목록 헤더의 내용을 쉼표로 구분된 값으로 추출합니다. 이 옵션은 선택 사항이며 기본값은 엄격한 주소 구문 분석입니다

관계

이름

설명

실패

RFC-2822 호환 메시지로 구문 분석할 수 없는 flowfile

성공

추출 성공

Writes 특성

이름

설명

email.headers.bcc.*

각 개별 BCC 수신자(사용 가능한 경우)

email.headers.cc.*

각 개별 CC 수신자(사용 가능한 경우)

email.headers.from.*

이메일의 보낸 사람에 포함된 각 개별 우편함(RFC-2822에 따른 배열)

email.headers.message-id

메시지-ID 헤더의 값(사용 가능한 경우)

email.headers.received_date

메시지의 수신 날짜(사용 가능한 경우)

email.headers.sent_date

메시지를 보낸 날짜

email.headers.subject

메시지 제목(사용할 수 있는 경우)

email.headers.to.*

각 개별 TO 수신자(사용 가능한 경우)

email.attachment_count

메시지의 첨부 파일 수