References:
<foo@anvamail3.example.org>
<bar@anvamail3.example.org>
References: <baz@anvamail3.example.org> <quux@anvamail3.example.org>
The second header is read correctly, the first however (multi-line) is skippe…...correctly parse multi-line header values, specifically the ‘References’...is present Try accessing the values using message.getHeaders()...