in reply to Re: Splitting folded MIME headers into indivual headers?
in thread Splitting folded MIME headers into indivual headers?
Im already using that. What I need to do, is to get the generated data in name => value format, for input to Sendmail::PMilter.
If PMilter could accept a opaque header object, I would just pass the output from MIME::Parser to PMilter, but now I need to use: $ctx->Addheader(NAME, VALUE)
thus I need to have access to indivual header lines in a way that makes it possible to iterate over the headers.
Any folding must be kept as-is to keep the output RFC compliant.
|
|---|