Get Rid of ""!

Get Rid of ""!

If you have sent some emails to your contacts directly from Salesforce, they may have received the emails with a “From” address that looks like “ on behalf of Your Name <your email address>”.  For many organizations, this is not ideal branding.

Luckily, this behavior can be toggled by the “Enable Sender ID Compliance” checkbox in Administration Setup – Email Administration – Deliverability.  So, your first thought might be to uncheck the “Enable Sender ID Compliance” checkbox, but that might not be a wise choice.

You will achieve two results with that action: One, you will no longer see “”.  Two, email servers will no longer see “”.  So, depending on their spam filter settings, some email servers will tag this as a “spoofed” email, in which the sender is not recognized as being legitimate.  Thus, your “From” address retains only your branding, but no one sees it since it is stuck in a spam filter in cyberspace.

But all is not lost. will save the day with Email Relaying.  An optional feature from Salesforce (contact customer service), setting up email relaying will allow you to retain your company branding and also maintain Sender ID compliance.  Problem solved!

So what is the catch?  Well, will your email server allow relaying?  Not all will allow relaying, especially if you have a hosted email provider.  If you run your own Exchange server, the configuration for email relaying is not difficult.  If you don’t run your own server, your results may vary.

Have you tried this solution?  Let us know your experience in the comments below.

See these links for more on these topics:




Fearless leader of the finest team of Certified Consultants, Developers and Administrators, relentlessly bringing rapid radical results to growing businesses throughout the United States.


  1. Rich

    Is my understanding from the above correct, that if email relaying is activated, you are still required to uncheck the box “Enable Sender ID Compliance” to remove the “on behalf of….” issue?

    My reading of the documentation implies that it is generally a bad idea to uncheck the box due to the data being removed from the envelope address meaning it cant be verified, but does the email relay feature mean this will be re-populated as it goes through our hosted email server?

    Thanks in advance

    • That is actually a good question. In my experience with these kinds of issues, I have found that you will need to test it in your scenario to verify the functionality. That is often the fastest and most definitive means to find the answer.

  2. Hamayoun Khan Says: June 10, 2013 at 11:27 am


    The second link which you included also says this:

    Select the Enable compliance with standard email security mechanisms checkbox to automatically modify the envelope From address of every email you send from Salesforce to comply with email security frameworks that your recipients might implement, such as SPF.
    Many recipient email systems enforce SPF to verify whether an email is legitimate. SPF checks the envelope From address of an inbound email to verify legitimacy. If this feature is enabled, Salesforce changes the envelope From address to a email address to verify the sender’s legitimacy. The header From address remains set to the sender’s email address.

    So it seems to me that if you set ‘Enable compliance with standard email security mechanisms’ checked, and set ‘Enable Sender ID Compliance’ unchecked, then email servers will no longer see ‘’, but WILL see in the envelope From, thus avoiding such mails being seen as spoofed. So if we do this, can we avoid using Email Relaying?


    • Hi-

      Thank you for your comment. From section 7 within the second link, Salesforce says “If you do not select this checkbox, the Sender field is set to null and email delivery fails when a recipient email system performs a Sender ID check.”

      I cannot say that I am an expert at email routing, but from my anecdotal experience with our clients, their emails sent from have been more likely to be caught in their customers’ junk email folder if the “Enable Sender ID Compliance” box was unchecked. I don’t know how common “Sender ID” spam checks are, but I do know that my clients do not want their customers to miss a single email.

      I hope this helps.

      Thanks again,