• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Javamail API - Attachments come on top of mail in Lotus Notes

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

Long time since I have been here.....I am back here to sort out an issue...I am sure you guys will help.....

I am using javamail API to send a mail that has attachments 'positioned' across the mail ... Just to give you an example....

Mail body :

OPEN ISSues
<openissues.doc>

Closed issues
<closedissues.doc>

Discussion Items
<items.doc>

This works fine in Lotus Notes7.5.....But in lotus notes 8.5 all the attachments line up on the top of the mail and lose their positions.....Please see the same above mail with the issue....

Mail body :

<openissues.doc> <closedissues.doc> <items.doc>

OPEN ISSues


Closed issues


Discussion Items



I want the positions of these attachments retained ...Please help me out in this regard. Thanks !!!


 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's what to do:

(1) Go through your Notes mailbox until you find an e-mail that is displayed the way you want to see it.

(2) Use the JavaMail example program that shows you the structure of a message to see how that e-mail is structured.

(3) Structure your future e-mails in that way.

It's possible that step (1) may fail because you can't find any such e-mails. That might be because your new version of Notes is programmed to always display the attachments in the way you disapprove of (I don't use Notes so this is just a hypothesis). Or it might be that there's a configuration option where you can specify how it displays attachments (although I suspect that's unlikely).
 
Shyam Sunder V R
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Paul,
Thanks and this does look like a possible way get a clue on what is going wrong with lotus Notes 8.5 since I do have some mails that have attachments positioned properly, THOUGH , THE POINT IS THAT THEY ARE MAILS SENT MANUALLY BY SENDERS AND NOT THE ONES SENT USING ANY PROGRAM...

While I was browsing through the Lotus notes 8.5 release notes , i stumbled upon a patch that read...

" Work was done in Notes 8.5 to put un-referenced HTML attachments on top of the HTML email message "

This might well be the reason for the issue I am facing...Can you guys help me in knowing what UNREFERENCED attachments are and what is the way to make attachments REFERENCED ?Thanks.
 
Paul Clapham
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Shyam Sunder V R wrote:THOUGH , THE POINT IS THAT THEY ARE MAILS SENT MANUALLY BY SENDERS AND NOT THE ONES SENT USING ANY PROGRAM...



Of course they used a program. You can't get notes written with pencil and paper into e-mail messages, and if you could there would be a program involved.
 
Shyam Sunder V R
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
very true and I just overlooked that point
Any help with REFERENCED/UNREFERNCED Attachments would be of great help...Any thoughts Paul ?
 
Shyam Sunder V R
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also I took a look at Javamail Image attachments which uses a "CID" reference by setting "content-ID" tag to custom value......
Does the same thing need to be done to NON-IMAGE (Doc , xls etc ) file attachments to make them REFERENCED ???
 
Paul Clapham
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might be right about that, I don't know. It sounds plausible but that's all I can say. Can't you connect to your Notes server with JavaMail and examine the messages in detail? Or doesn't Notes have an option to show you the headers and so on?
 
Shyam Sunder V R
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I couldn't try it out on the weekend because I work on a secure network for my Client where I have the Lotus Notes account....
I tried reading the lotus Notes mail yesterday from my Workplace but couldn't do it because it seems to need Domino Jar Files to do it and I am not able to find much info on net for that .....

Can someone adept in Domino let me know how to read a mail from lotus Notes server? Also I am unable to find the host for the lotus sever ..It doesn't seem to be the SMTP server for reading lotus mails..Any help is greatly appreciated....
 
Paul Clapham
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, "adept in Domino" is not me. All I know is when I get an e-mail from a Lotus Notes server it looks like it went through an airplane propeller. Little bits of images all over the place. Anyway I wish you luck.

If you remain stuck, is there a possibility of calling IBM for support?
 
Shyam Sunder V R
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Paul I should thank you for all the assistance and I am not hopeful of calling IBM support...
I will have to just cancel the work I am doing because without proper positioning of attachments the whole project will be of no use.....
Anyways I am waiting for some miracle to happen
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic