Is there any Key or name field (in Message.Header or else) SAME or RELATE for both received and sent mail?

StackOverflow https://stackoverflow.com/questions/20852267

문제

Is there any Key or name field (in Message.Header or else) SAME or RELATE for both received and sent mail .

For example, MessageId is unique key for each message. But I want something else (Key). I had not found any field in Message.Header(Message or MimeMessage or with also MimeMessageHelper)

I am using Java.Mail and I want to group each received and reply mail with a key. Anybody help me, Please ?

도움이 되었습니까?

해결책

In a word.

No.

There is nothing in the headers to tie one email to another. The closest you can do, is compare subjects + the Date.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top