This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JavaMail:Why can't a recipient using Lotus Notes see the attachment of my mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JavaMail:Why can Watch "JavaMail:Why can New topic
Author

JavaMail:Why can't a recipient using Lotus Notes see the attachment of my mail

Ulrich Heeger
Ranch Hand

Joined: Jun 06, 2003
Posts: 266
Hi everyone,
I have created Multipart Message to send to different mail users. The problem is now that the recipient using Lotus Notes can't see the attachment, whereas Outlook has no problem. Here is my code snippet:

I would be very thankful if you could help me.
Regards, Ulrich
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
We talk about JavaMail in the EJB/Other J2EE forum, so I'm moving this thread to that forum. Please head over there to continue the discussion.
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19747
    
  10

(Yes, I suppose JavaMail is a J2EE technology, isn't it? Funny I never think about it that way. Must be because I use it in non-J2EE contexts.)

Anyway to respond to the question: just a guess, but maybe Lotus Notes doesn't think HTML plus attachments makes sense. Try with plain text.
Ulrich Heeger
Ranch Hand

Joined: Jun 06, 2003
Posts: 266
Hi Paul,
thank you very much for your help. I suppose you're right because when I compare the two messages, the one created by Java Mail, the other by Outlook, the second message contains a second body part containing the plain text version additionally to the first body part containing the html version. This message can be displayed with the attachments within Lotus Notes. So I will try this and post the result later.
Thanks & regards,
Ulrich
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaMail:Why can't a recipient using Lotus Notes see the attachment of my mail
 
jQuery in Action, 3rd edition