Lotus notes Ver.6.5.5 Agent to copy all the file came as attachment with the email message

5 pts.
Tags:
Lotus Notes 6.5.5
Lotus Notes 6.5.x
Lotus Notes 6.x
Lotus Notes attachments
I need a Lotus notes Ver.6.5.5 Agent to copy all the file came as attachment with the email message to a specified Disk folder and mist have ability to run for new messages as well as stored selected messages in particular folder.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Without writing all the code for you, I point you in a general direction. There is one question also, when you say the agent needs to run on both new and old documents, do you mean run on the new ones as they come into the database, or just like how it is done for the old (already existing) ones? If you need something that can be triggered at anytime on the existing ones and on new ones as they come in, you will likely need to have 2 agents. One that is run from an action button or the action menu, and the other scheduled Before new mail arrives. An agent that is scheduled (like Before new mail arrives) cannot use any reference to UI objects. I would recommend you write the this one time, so write a script library to house all the code using backend objects only. Then you can reference it in either agent. You need to use the NotesEmbeddedObject object and NotesRichTextItem object to get to attachments in a document. Once you have these, as long as the system you are working from has the ability to get to the folder(s) you want to store the attachments to, then this will work. This means your server has to be running using a domain account, and that domain account has to have access to the area(s) you want to copy files to – only for the Before new mail arrives agent though. If the agent is started by an action button or from the action menu by a user, then the user triggering the action must have access to the area(s) where the attachments are going to be stored. If you need further assistance, I can help, but send me the code you have tried and we can see if we can work it out. I can also be contracted for help as well.

Mike K
mkinder@acadiasolutions.com

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following