One of my clients has a Mass Mailing agent and they want to ensure that it does not get responses from Out Of Office agents. I don’t know if SentByAgent is being set when the agent sends it (I mean automatically, by the agent manager) or if I can/must explicitly set it myself.
I’ve read a few older threads and the only impression I got was that SentByAgent was an intrernal field that I would not be able to set. Of course, that makes me wonder why it’s not getting set when the agent sends an email…
Perplexed, like most Tuesdays,
Dave
Chub Toad, LLC
Subject: SentByAgent?
The OOO agent will not fire if the document contains the item $AssistMail. When a document is mailed by script, the Send method will automatically create this item on the document being mailed.
Subject: Dropped directly into mail.box?
In reviewing the agent (I am told it was written by IBM for this client), it looks like it drops the message directly into the mail.box, which probably circumvents the process of a typical doc.Send
Subject: RE: Dropped directly into mail.box?
I have used this approach to ensure that failure notices go to the appropriate person. By creating a document directly in the mail.box the “Sent By” field isn’t set to the agent’s signer.
Watch out for R7 though… I read something recently where this may not work in the exact same way (I just can’t remember the details).
Subject: RE: Dropped directly into mail.box?
Chuck,
I’d read the same warning. I personally prefer not to drop things right into mail.box, since it causes problems like this (and won’t allow attachments in R7 from what I remember).
My personal preference is to create a stripped down form and store the form in the message, which allows you to easily remove all the reply/forward/other buttons and actions, choose not to display troublesome data like SentBy, and make the message looks the same regardless of the end-user’s Notes version.
But, as I said, I didn’t write this agent.
Dave
Chub Toad, LLC
Subject: RE: Dropped directly into mail.box?
Please be aware that the problem with copying attachments to the mail.box is not only applicable to ND7 but to ND6 and forward. This issue had been discussed in a tip submitted in searchdomino.com. The link is included below.
http://searchdomino.techtarget.com/tip/1,289483,sid4_gci1046566,00.html
Regarding the issue, since the doc is being written directly to the mail.box, if you have the rights to change the code, you might add a line to the existing code to create an item called $AssistMail and set it’s value to 1. If you are able to do this successfully, in theory, you should be able to prevent the OoO agent from firing on those emails. Please note that I haven’t tried this, so am not even sure if it will work.
Subject: RE: Dropped directly into mail.box?
There is a large amount of information on this topic in the Agent FAQ, including facts about mail.box and how to avoid “SentBy” if you need it. The information is the FAQ is provided by IBM.