I'm new with Perl and i need to read one email from Exchange and add one ID to the subject with Perl.
I was searching and i had found:
Mail::Internet splits a message into a header object in the Mail::Header class, plus a body. You can get and set individual headers through this object:
my $subject = $obj->head->get("Subject");
$obj->head->replace("Subject", "New subject");
But i simply can't understand how to make the script to change the subject.
Can anyone help?
Thanks in advance,