Hello,
I have an agent which sends an email to 2 sets of users. Set1 to their personal email id, and Set2 within the company.
Actual requirement was to hide the from: and show sender’s name as, Test1@domain1.com, so if users reply to an email, then the reply will be send to test1@domain1.com, This works fine for the Set2 users, but for Set1 users they can see the sender’s name in From: name@domain1.com, instead of test1@domain1.com. I did study few threads in this forum, and came with a code which works fine for set2 users. I have following code which is a part of the function,
message.Principal = “test1@domain1.com”
message.From = “test1@domain1.com”
message.AltFrom = “test1@domain1.com”
message.SendFrom = “test1@domain1.com”
message.INetFrom = “test1@domain1.com”
message.tmpDisplaySentBy = “test1@domain1.com”
message.tmpDisplayFrom_Preview = “test1@domain1.com”
message.DisplaySent = “test1@domain1.com”
message.DisplaySent = " "
message.SendTo = owner
message.Subject = “Test Subject”
message.SaveMessageOnSend = False
message.Send( False )
Call doc.Save( False, True )
Can any one guide me how to set the value for the from so that when user replies from personal email ids, they still can see test1@domain1.com
Thanks
MS