Assining From field using doc.Send

I am creating an e-mail using a scheduled agent. I read in the help that when you use the send method from the NotesDocument Class, the from field is set to the name of the person who signed the agent.

Is there any way around this? I tried:

doc.from = “Some String”

before sending the e-mail but it did not work. Does anyone have any ideas?

Thank you,

Brian D

Subject: Assining From field using doc.Send

I think you need to set the doc.principal and doc.replyto as well.

HTH

Subject: Assining From field using doc.Send

Brian,

Save the agent with an administrator ID so it doesn’t look to people like you are personally sending out these system generated e-mails. If you don’t have the authority to use another Notes ID, have someone else do it.

You don’t need to set reply-to. This is optional along with cc and bcc. Never heard of doc.Principal.

Ken