Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacing $ Fields in memo

Status
Not open for further replies.

MarkhP

MIS
Apr 24, 2002
258
GB
Does anyone know if it is possible to replace $AltPrincipal and $UpdatedBy fields when creating a memo using Lotusscript Agent. The agent is replying to a mail received and I want to hide the real address of the sender. I have replaced all other 'From' and 'SentBy' type fields as

newdoc.From = "AutoReply Agent"
newdoc.SMTPOriginator = "AutoReply Agent"
newdoc.ReplyTo = "DoNotReply"
newdoc.AltFrom = "AutoReply Agent"
newdoc.InetFrom = "AutoReply Agent"
newdoc.InetSendTo = "DoNotReply"
newdoc.PRINCIPAL = "AutoReply Agent"
newdoc.SendTo = "DoNotReply"

Your advice greatly appreciated...
 
If you really want to be sure to replace sender information, the only good way of doing it is to write the memo directly into the server mail box, bypassing the Send function entirely.
That way, you can set the sender name yourself and not fear it to be overwritten by the server functionality.

That being said, this is also a great way to spoof messages and might cause considerable harm. There are good and professional reasons to do this, but there is also room for mayhem.

I can just hope I have not opened a Pandora's Box.

Pascal.
 
Hi Pascal.
I was trying to create a response, so that SPAM received in a mailbox could be recognised by an agent and a reply go back informing the sender that unsolicited mail is discarded and not to send to addresses at our company. The majority of SPAM is currently forwarded to a single mailbox and I have an agent that can reply by writing a mail back to one of the MAILn.BOX files. This works fine except that when it replies with an amended copy of the original, there is always a reference to the administrators email address in the header (as that is who created and runs the agent). I didnt want senders to then get the address of admin to start sending junk to. I know we can ignore spam mail, but we also get a lot of 'friends' sending jokes etc. who would possibly stop if informed that they weren't getting through. I look to your wisdom as your humble student ( woah! too much time with the monks, grasshopper :-D )
 
As I said, there are good and professional reasons to do this. If I knew how to douse the spammer, his computer, his car and his house with red paint, I'd tell you.
Unfortunately, I'll probably have to transcend a few more lifetimes before gaining that bit of wisdom.
I'll keep you posted ;-).

Pascal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top