Mail's from field other than Notes-Id, how?

An agent sends mail when triggered on the webquerysave event.These mails are sent to abc.xyz@sss.com and when abc receives the same I want the from field to have pqr.mno@sss.com, where i can pick the value pqr.mno@sss.com when pqr is submitting the doc, instead of the persons notes-id.

What are the ways i can do this?

Subject: Principal

Put the value you want into a field named Principal and also ReplyTo (if you want replies to that address). Within Notes it still shows a “Sent By” value, but it should appear to come from the address you choose.

Subject: RE: Principal

Setting reply to works fine for Reply.But the From shows the notes id as pqr s/dddd/dd

instead of what ever i set, Principal, AltFrom and many more other fields i tried out.

Any other particular field or any other setting than setting field?

Subject: Read the agent FAQ

The agent faq has an entire section devoted to this subject.

Read it http://www.lotus.com/ldd/nd6forum.nsf/Resources/ForumFAQs?OpenDocument

Subject: Thanks

Thanks a lot Morten