Sending a mailmessage to internet through Lotusscript

Hi

I am sending an mailmessage (through Lotusscript) to externally (outside the Domino environment). I use the following code to send automated message with a predefined name:

doc.Principal =“DocManIndexer”

doc.INetFrom = “DocManIndexer”

doc.From = “DocManIndexer”

The send mailmessage does not show this name as a sender. Instead it shows the emailadress of the signer of the Lotus Notes agent. Ofcourse I want the sender name to be DocManIndexer.

What must I change (or add) to make sure the senders name is allways “DocManIndexer”?

Regards

Subject: Sending a mailmessage to internet through Lotusscript

Hi Jerry,

Just set these fields too

doc.From = DocManIndexer

doc.ReplyTo = DocManIndexer

doc.Principal = DocManIndexer

doc.displaysent=DocManIndexer

doc.DisplayFrom_Preview = DocManIndexer

doc.INetFrom = DocManIndexer

doc.tmpDisplayFrom_Preview = DocManIndexer

doc.tmpDisplaySentBy = DocManIndexer

doc.SMTPOriginator = DocManIndexer