Automatic Response to emails

Hi all. Is there any way of automatically respond an email for certain senders (external emails) with the text I want? I mean a kind of “out of office agent” but for just some senders and a different text. I guees I will have to code it, but I am pretty sure this have been done before…

Thanks in advance

Subject: Yes, you can.

Of course you can do that. You probably want to use the “before new mail arrives” trigger on the agent.

Subject: Thanks, it worked!

Subject: Some problems found

The problem is that when the agent replies to sender, I want to send the sender some text and also I want the original mail bo be deleted. That is to say, the agent or rule (or both) should, if the sender belongs to a some domain in particular:

  • Reply the email.

  • Reject the mail (at the same time9.

If a combine an agent “before mails arrive” and a rule “if sender contains word ‘XXXX’ delete the message” I solve the requirenment. The only problem is that the agent rejects ALL the emails, not only those coming from a domain in particular.

Subject: Just use a mail rule

Subject: Mail rule + 2 agents

Thanks to all for the posts.Finally I managed to solve the problem by combining these 3 elements:

  • an agent “after mail arrives” that replies the email under some conditions.

  • a rule that store the email in a special folder (also under some conditions).

  • an agent on schedule that delete daily all the emails stored in the folder.