Populating a Principle field from an Application

I am sending an email from a notes application.I am populating the Principle field with a task ID address. When the email arrives in my in box it shows as sent by me.

Because I have populated the ReplyTo field with a task Id, it replies to that ok. I can see why the email will always be sent by me and that is not a problem, but I want to change the Principle field so that in the In Box the email shows as being sent by a task ID. Does anybody know how to do this please ?

Thank you in advance and best regards

Timothy Allen

Subject: Populating a Principle field from an Application

Timothy,

I generally set these fields as well…

Call mailDoc.replaceItemValue( “principal”, EMAILFROM)

Call mailDoc.replaceItemValue( "from", EMAILFROM)

Call mailDoc.replaceItemValue( "displayFrom_Preview", EMAILFROM)

Call mailDoc.replaceItemValue( "tmpDisplayFrom_Preview", EMAILFROM)

Call mailDoc.replaceItemValue( "displaySent", EMAILFROM)

Call mailDoc.replaceItemValue( "tmpDisplaySentBy", EMAILFROM)

Call mailDoc.replaceItemValue( "displayFrom", EMAILFROM)

Also, if you send to outlook, I can’t think of the field, but I believe you have to set something call stmp???.

John