Subject: | Can't add header in non-default position |
Mail::Audit 2.1
I can't add an email header in a non-default position.
What I'd like to do is call ->put_header("Received", ".....", 0) to insert a new "Received" header right at the top (index 0). However, the last parameter (0) isn't passed along to Mail::Header's add() method since Mail::Audit explicitly passes only $_[1] and $_[2].
(I also can't read an arbitrary header that occurs multiple times because I'd need to pass two parameters to get(), the second one being the index, but only the first of those gets passed on to Mail::Header::get.)