Skip Menu |

This queue is for tickets about the Mail-Outlook CPAN distribution.

Report information
The Basics
Id: 35734
Status: stalled
Priority: 0/
Queue: Mail-Outlook

People
Owner: Nobody in particular
Requestors: igobonk [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.13
Fixed in: (no value)



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.
Show quoted text
> According to the CPAN documentation for > Mail::Outlook::Message for From(): > > "Returns a list containing the Name and Address of the user"
It will only return the address if Outlook is configured to do that. I think also depends on which version of Outlook you have. If message is set to readonly access, then the Name is the only part that will be returned. Unfortunately I no longer use Windows, but would be interested if anyone can figure out a way to override the request to get the From field and return the Address.