From Address (w/o switching locations)

We send out 100s of emails to our vendors/partners. We use a central Db to send/manage the emails. We created a script that replaces item with generic email address. It seems to upodate the principal/from, sendto, and replyto fields but for some reason the sender is still receiving replies. These replies are from a server level only vs. clients (replyto took care of that)… e.g. failure, bad account, etc… These messages are coming back to the sender and are based on his userID. Needless to say, we don’t want all these server responses coming back to his personal email account but to the other mail-in account (account in the replyto, from… fields). Where is it pulling is from? …would think that that server would send back to the from/replyto fields!?! I know a way around it… create location -w- generic ID associated with the mail-in address, etc… The bad part… a user would need to switch locations (and remembefr to switch back!). Any ideas how to get around this? Thanks team…

Subject: message to Michael - not related to this post

Hi Michael,

I see from some of your other posts that you have some pSeries/Domino expertise. Are you in Australia or do you know anyone in oz with similar skills ? Would very much appreciate an email to crodrig5 at gmail dot com

Thanks

Subject: RE: From Address (w/o switching locations)

Sure – save the document, and have a run-on-server agent (invoked using RunOnServer or scheduled) do the actual sending for you. Notes is a bit persnicketty about spoofing – user actions are always carried out by the user.

Subject: RE: From Address (w/o switching locations)

Thanks Stan… I figured this was the case. Was considering using SetCurrentLocation method to force a change (to new location/userid before script executed & after it completed switch back). Happy 2006 to all!

Subject: Solution…

I found a solution… posting in case someone else has this problem/issue. I was using ReplaceItemValue like this…

doc.ReplaceItemValue “principal”, “user@123.com

For the principal field, it needs to have the @domain on the end. See below…

doc.ReplaceItemValue “principal”, “user@123.com@123