I have a requirement where...

my company works for different clients(like Orange, Apple, Avacado,etc.) and it's customers. We send requests and quotes to different customers on behalf of different clients. All this is taken care by Apex Code.

We have setup a Email Service where we get a long email id from salesforce which is used in Apex Coding. The outgoing emails from system now has sender email ID looking something like AgentOne@Orange.com, AgentTwo@Apple.com,etc., This was achieved by adding some custom logic to add display names (AgentOne@Orange.com, AgentTwo@Apple.com,etc.,) which can also be done by Org wide addresses like suggested here.

When Customer is trying to reply to emails sent from system with Display labels mentioned above and click reply, they see the long salesforce email id reply_to_email@gsdfdsckassdfasdf324adfds4weqwx8wnewreweq2o0p.c-3vdsdfeam.cs14.apex.sandbox.salesforce.com.

Is there a way to Hide/Add some display name to cover-up that salesforce email id when customer is replying?

  • @crmprogdev Can you share your apex code? I'm actually trying to achieve the opposite of what you are, and maybe if we cross reference our code we can find the difference that will fix both of our problems. – Jwok Dec 11 '19 at 18:27
  • Oops, I mean @Win4frndz – Jwok Dec 11 '19 at 19:18
  • @Jwok, since you're trying to do the opposite, I think the answer below I created & deleted, assuming it's visible to you should do what you're asking. – crmprogdev Dec 12 '19 at 18:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.