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 firstname.lastname@example.org will show up as
John Smith <email@example.com>.
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.