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

Pergunta

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 ?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top