With which attachment ?
You can code an agent to respond automatically, but if you wish for an attachment to accompany the response, the attachment must be stored somewhere that is accessible to the server itself.
Most probably, that means creating a document in the database and storing the attachment there. The agent will have to know where to find the document, open it, retrieve the attachment in an RTitem, and paste it into the response.
Pascal.