Agent to scanl ast sent mail date on lotus

15 pts.
Tags:
Lotus Agents
Lotus Notes
Can anyone tell how to create agent/database which will scan last sent mail date(suppose before 3 months) for all person doc on lotus server and will send alert to admin

Answer Wiki

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

Hi,

It should be possible aith MTC (Message Tracking Stroe) if it is enabled in your environment. But I can’t be positive, it’s something I used a long time ago and don’t have any clear idea on that particular point.

Otherwise, you could use log.nsf the “Session” form documents. Scanning them by users and from the more recent to the oldest.
If you have Item BodyDatabase contains “mail.box” and item BodyDocsWritten contains something more than 0 then your users sent a mail.

Attention both items are not text list so parsing the values will not be as simple as
Pos = ArrayGetIndex(doc.BodyDatabase ,”mail.box”)
if not Isnull( Pos) then
if doc.BodyDocsWritten(Pos) > 0 then
‘we have a mail trace
LastMail(j,0) = doc.UserName
LastMail(j,1) = doc.StartTime
‘Jump to the next user
end if
end if
You’ll have to build arrays out of the items by splitting the values. the separator being one or many CR+LF entries (on a win platform) then you will be able to match the cells of each array.
Maybe with something like
ArrayDbs = split(trim(doc.BodyDatabase(0));chr$(13))
I am no sure it will work at all

Attention also that if you use multiple mailboxes, you’ll have to check for mail?.box in BodyDatabase item.

That’s the basic idea I would use in the same case, running that on all servers in my domain.

Hope this helps

Discuss This Question: 1  Reply

 
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
  • Online1984
    Hi..thank for above updated.. I mean that i wanted to scan mailbox which are not used for long time for which i wanted create agent for it.. Is there any other way we can do that.. Is above will work as i am new to domino
    15 pointsBadges:
    report

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