Subject: | From() does not return a list and does not return the address as described in documentation |
I was trying to write a script that would extract e-mail messages from
the Outlook inbox. According to the CPAN documentation for
Mail::Outlook::Message for From():
"Returns a list containing the Name and Address of the user"
As far as I can tell this isn't true. In my case, From() only returned
a single item, which was the Name. I was unable to get the Address at all.
As a workaround, I used the facility in Outlook to export all of the
e-mail messages to Excel and got the addresses that way.