I have noticed than in many popular email services such as GMail and Exchange, the email address of the user also contains the name of the sender.
For example email@example.com will show up as
John Smith <firstname.lastname@example.org>.
Is there a way to determine the user name associated with an account by querying the server for that information? (in this case MS Exchange).
I want to create a script that automatically extracts the first and last name from their address to do personalize outgoing emails.