Lotus Agent to forward specific emails from group mailbox to specific users

15 pts.
Tags:
Lotus Agents
Lotus Designer
Hello, Please I need your help. I want to create an agent on a group mailbox database to do the following: When a message is received with subject field contains "TEST" ---> It automatically forwards this mail to a specified person. Knowing that both mail addresses are within the domino and under the same hierarchical name of the company. We are using BlackBerry so there is no way to create a rule to forward the mails as it is disabled by the domino admin. Also, the domino admin has the web access disabled so there is no way to reach the company mail unless the users gets a blackberry form us. I tried creating a simple action agent but it didn't work. Also, I tried formula agent and stated the following formula with no use: @If(@Contains(Subject;"TEST");@MailSend("Specified Person" ; "" ; "" ; "Fw :" + Subject ; "" ; Body ; "");"") and set the agent trigger to be "before new mail arrives" but no mails are forwarded. Thank you

Software/Hardware used:
Lotus Domino Designer 8.5.2

Answer Wiki

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

Discuss This Question: 4  Replies

 
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
  • SlikTool
    Question 1: where did you put the agent? in the group mailbox where the message will be received?Question 2: When you say you are Blackberry users, do you mean the only way to access your mail is through a Blackberry device? No Notes Client access to email?Thought, if your admin has thing so locked down, it is possible he/she has also disabled mail agents, thus "before new mail arrives" agents likely won't work as I believe that is done by the Router.
    1,840 pointsBadges:
    report
  • SlikTool
    Re-entering and adding some formatting so it is easier to read...sorry Question 1: where did you put the agent? in the group mailbox where the message will be received?Question 2: When you say you are Blackberry users, do you mean the only way to access your mail is through a Blackberry device? No Notes Client access to email?Thought, if your admin has thing so locked down, it is possible he/she has also disabled mail agents, thus “before new mail arrives” agents likely won’t work as I believe that is done by the Router.
    1,840 pointsBadges:
    report
  • BNPParibas
    Hello Slik Tool,Allow me to answer your questions:1- I put the agent in the group mailbox where message shall be received.2- We have a Notes client but there is no way to access our mails when out of office or after working hours other than blackberry which is not with all users.3- Our admin has the rule to forward mails locked and can't be opened as it is against the security policy.4- I tried another agent formula that says:     @If(@Contains(Subject ; "Dispenser") ;         @Do(                     @MailSend("USER1" ; "" ; "" ; "Fw: " + Subject ; "" ; body ; [IncludeDoclink]));@Contains(Subject_1 ; "Out") ;         @Do(                     @MailSend("USER2" ; "" ; "" ; "Fw: " + Subject ; "" ; body ; [IncludeDoclink]));@Contains(Subject ; "Power") ;         @Do(                     @MailSend("USER3" ; "" ; "" ; "Fw: " + Subject ; "" ; body ; [IncludeDoclink]));@Prompt([Ok];"no match";"no match email found"));SELECT @All 
    15 pointsBadges:
    report
  • SlikTool
    Your formula looks like it should work, assuming where you have User1, User2, and User3 there is an actual email address assigned. The only thing that I would do, since this is a scheduled agent, is remove the "@Prompt" stuff, and just replace it with "".  The reason is, @Prompt is a UI feature, and sometimes scheduled agents will not run if there are UI elements present.

    So, your mail file is not connected with your mail file internally, is that correct? The Blackberry server is free for a Domino installation, so not sure why that is not done, as it would eliminate this whole issue.

    Your admin could be restricting you in other ways that are not as obvious. 1) Your ID may not have the necessary rights it needs to be running this type of agent on the server. Not certain but, @MailSend may be a restricted operation, I would have to check. Seems like it should not be, but then again, there are reason to believe it might be. 2) If you are still using the "before new mail arrives" trigger, that requires that the Administrator allow these types of agents, if they are disabled the agent will never run. You will have to switch to a scheduled agent.
    1,840 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