Sample agent: Replying to mail

Use and agent to send an automatic response to people who submit documents to an application.

About this task

You created an application that collects employee responses to a survey about the company benefits package. You want to automatically send a Thank You reply to anyone who responds. To do so, complete the following steps:

First,

Procedure

  1. Open the application, and then click Create > Agent.
  2. In the Agent Properties box, enter Send Thank You in the Name field under the Basics tab.
  3. In the Trigger section, select On event, and then select After new mail has arrived from the list.
  4. Close the Agent Properties box.
  5. In the Programmer's pane, click the Objects tab in the Info List section, then select Action from the list of objects.
  6. Click Add Action at the bottom of the Programmer's pane to open the Add Action dialog box.
  7. Select Reply to Sender in the Action field.
  8. Select Reply to sender only.
  9. In the Body field, enter Thank You, and then click OK to add the action to the agent and close the dialog box.
  10. Click File > Save to save the agent in the application.