Hi,
I try to code in lotusscript the ‘simple action’ that allows to send an email in a ‘before new mail arrives’ agent.
In fact, when you use doc.send in ls, the result is not the same as in the ‘simple action’: the mail received seems in the last case to be a Notesnewsletter document with a copy of the mail in it.
To code a notesnewsletter object, you must get a notesdocumentcollection object from a search. But in the particular case of this agent, what is the best way to combine the notesnewletter object and the document get from session.documentcontext ?
Thanks
Christophe