Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set Sender Name in MimeMessage?

843830Mar 11 2003 — edited Apr 7 2003
Hi

I use the MimeMessage object to create an Email and know how to set the fields for recipient email address. That way in the recipient field in the Email (you can see in the Email application like Outlook) the recipient email address is shown.

Often in emails I get, the Name of the Recipient is displayed in the To-field instead of the pure email address. Is there a way to do this with MimeMessage too?

Thanks for your help
josh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2003
Added on Mar 11 2003
4 comments
2,869 views