Create and populate stationery in lotusscript
Posted on 2006-03-28
Hoping I can get a good overview of how to go about doing the following. I need to create a function that will allow users to create and save mail templates (stationery) in a database. The users then need to be able to open mail received in this database, click a "template" button that will create a reply (with history) formatted with the template they selected. I'd like to grab information from the email to use in populating the greeting (ie Dear <fromName>).
- So far I have created a "template" form that has the following fields:
- I have also created a button on the inbound email form that displays a picklist of the templates that can be used.
After this I am kind of stuck as to how to create the reply memo using the body of the saved template. Also, don't know how to get the history appended to this template.
I tried looking at the mail template for guidance, but the notes templates are a little too overdone for what I need and therefore more confusing than just doing it from scratch. I would like a solution using lotusscript.