Scheduled agent delivery failure notice

SCENARIO:I have a scheduled agent sending emails.

As it is deployed in production, it is signed by a generic id that has authority to run scheduled agents on the production servers.

Delivery failures are currently received by the server and becomes deadmail.

PROBLEM: Can I use the “ReplyTo” field of a mail document to forward the delivery failure notification. I tried but it doesnt work. I put my notesid in the replyto field and i didnot get any delivery failure. The replyto field is constructed with my notesid@maildomain.

Subject: Scheduled agent delivery failure notice

You have to be more specific: What error do you get? What is the reason for deadmail? What code did you use?

Subject: RE: Scheduled agent delivery failure notice

Delivery failure occurs due to recepient not in address book. I really am not concerned about the failure. What I really am trying to do is to forward any delivery failures to another id and not to the server.

Because it is a scheduled agent any delivery failures gets lost. What I want is that any emails sent by the scheduled agent that was not be delivered by re-routed to another id (automatically ===> i thought setting the replyto field would do but doesnt look like it does)

I also tried updating the “Principal” field and it doesnt do so.