Indy 9
Example
TIdMessageDecoder.Headers
    AMsgDecoder.Headers.Add('content-transfer-encoding=base64');
    AMsgDecoder.Headers.Values['content-disposition'] := 'inline';
    iPos := AMsgDecoder.Headers.IndexOf('content-type');

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.