How to fetch message body and attachments in XML format using php/linux from Lotus Domino server?
Posted
by too
on Stack Overflow
See other posts from Stack Overflow
or by too
Published on 2010-03-31T10:41:05Z
Indexed on
2010/04/10
11:33 UTC
Read the original article
Hit count: 336
Has anybody some information about accessing Lotus Domino server to fetch entire mail contents by http(s) requests from php linux server?
The article by Andrei Kouvchinnikov describes well how to fetch message list in notes mail folders; after obtaining session id during login one can for example select top 100 messages by calling:
https://your.server.domain/mail_db/mailbox.nsf/($Inbox)?ReadViewEntries&Start=1&Count=100
And this works perfectly. The problem arises when I am trying to get message contents (0A1DA5EEB7B65277C12576F50055D811 is an example message unique Id):
https://your.server.domain/mail_db/mailbox.nsf/($Inbox)/0A1DA5EEB7B65277C12576F50055D811/?OpenDocument
Such request in IE shows frameset with data hard to parse, in less common browsers like Opera it informs about unsupported browser. Ideally if it is possible to fetch notes message contents and all attachments by requesting it in the url, has anybody some information what request would it be? Link to Lotus web calls reference would be even more beneficial.
© Stack Overflow or respective owner