Help needed in managing incoming email

Hi all,

I need to establish a rule to the incoming lotus notes 6.5 mails.

When a condition on the incoming email subject is respected, I should create a new mail into the Inbox with some differences in subject/body and delete the previous one.

Could somebody help me/give me some hints? thank you in advance.

Subject: Help needed in managing incoming email

create a agent go to runtime and select when new mail arrived. write a script or formula and change the subject or what ever you like to changed. for more call me on ajitnarayan123@gmail.com

Subject: Help needed in managing incoming email

thank you for your answer!I know how to set an agent on the incoming email, but I don’t know how to write a script… and actually what I want to do is a little bit more complicated.

More clearly, the procedure should be:

IF sender(email) == “known_email_address”

{find the "real email address" (which is in the body of the email and in its subject, probably I could search it searching the @)



 change the "old" sender with the "new" one (probably creating a new email? if is not possible to modify the existing one)



 delete the old email (eventually)



}

do you have any idea?

thanks in advance! Daniel