dcsimg

How can I get the full name of the recipient of a message?

John Zukowski

You can check to see if the Address returned by methods like getFrom() or getRecipients() is of type InternetAddress. Assuming it is, you can then call getPersonal().