My client ask me to send an automatic email from a Java Web App. The from field is automatically filled with the user lastname and firstname. I use an InternetAddress(email, personal) object to fill the from of an MimeMessage object.
When the group received the email, they see:
eg. Smith, John <email@example.com>
But when they try to get more information from the GAL (Outlook on Exchange Infrastructure), they can't get any more information about the user (username, calendar, etc.)
Is there a way to generate the mail to tell Outlook to handle this field like it was sent by Outlook itself ? I tried to look at the source code of the email but didn't see any clues there.
Also, I can't use another class than javax.mail.* to do this. (Business restriction).