transform({ type => $header_name, data => $header_data })
'transform' a header from the 'raw' state (the way it was returned from the server) to an appropriate object. if no appropriate object exists the header will be decoded (using decode_mime_words()) and UTF-8 encoded the following 'transformations' take place:- •
- from -> Email::Address::XS object
- •
- to -> Email::Address::XS object
- •
- cc -> Email::Address::XS object
- •
- date -> CiderWebmail::Date object
2022-12-26 | perl v5.36.0 |