Is it possible to update an entry in Lotus Notes via email just like posterous? If it is possible, how can i do that? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Quite easy.
What you need to do is create an agent in the mail database which will process the incoming mail (this will require Domino Designer and the appropriate privileges in the mail DB).
Depending on your requirements, you can trigger the agent periodically (e.g., once an hour) or on a specific event (e.g., when new mail arrives).
All the agents I’ve ever written are in LotusScript (sort of VBA) and they can scan documents in the database, examining the status, headers and so on, to decide what to do.
One recent one I wrote for someone here follows. When called, it basically runs through the InBox checking each document for a subject heading containing ‘qwertyuiop’, and creates a response email back to the sender containing the same subject with ‘SUCCESS’ appended.
Then it moves the document from the InBox to the junk folder. This particular agent ran every 60 minutes since immediate response was not required. You should be able to pick up the intent from the code.
What you probably need is a slight modification to this which will open up a different database and change documents in there based on the mail documents.
All you really need is a key in the email that can identify which document in the secondary database should be changed, and some logic that can apply the changes based on the mail content.
That’s left as an exercise for the reader. What I’ve given you should be enough to get started (ask another question when you’ve had a play with this).