File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Marshal

Joined: Mar 22, 2005
Posts: 42933
    
  68
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
Bartender

Joined: Oct 14, 2005
Posts: 18991
    
    8

(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