Hello Anonymous Monk,
Well you need the extension of the module Mail::IMAPClient::BodyStructure.
From the documentation:
This extension will parse the result of an IMAP FETCH BODYSTRUCTURE co +mmand into a perl data structure. It also provides helper methods to +help pull information out of the data structure.
Sample from the module description Mail::IMAPClient::BodyStructure::Envelope:
{ subject => "subject", inreplyto => "reference_message_id", from => [ addressStruct1 ], messageid => "message_id", bcc => [ addressStruct1, addressStruct2 ], date => "Tue, 09 Jul 2002 14:15:53 -0400", replyto => [ adressStruct1, addressStruct2 ], to => [ adressStruct1, addressStruct2 ], sender => [ adressStruct1 ], cc => [ adressStruct1, addressStruct2 ], }
Hope this helps.
In reply to Re: read gmail and extract cc field
by thanos1983
in thread read gmail and extract cc field
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |