How to Remove “via Salesforce” and “on behalf of” from Your Emails
Gmail shows “via salesforce.com” and Outlook shows “on behalf of” when Salesforce delivers your email. To make those labels go away, deliver the email from a mail server that belongs to you. SMTP Relay routes Salesforce email through your own server so it arrives as sent directly by you.
Why the label appears
Mail clients compare the address in the From line with the server that actually delivered the message. When an email from [email protected] arrives from a Salesforce server, the client points that out: Gmail adds “via salesforce.com” next to your name, Outlook writes “Salesforce on behalf of you”. It is meant to protect recipients from spoofing, but for a real message it makes your email look less like yours.
What you can do inside Salesforce
Setting up SPF and DKIM for your domain in Salesforce tells receiving servers that Salesforce is allowed to send for you, and removes the label in some mail clients. It is worth doing regardless. The message still leaves from Salesforce's servers, though, and clients that look at the delivering server will keep showing where it came from.
The fix: deliver from your own mail server
When the email is delivered by your own mail server, or by a provider that sends for your domain such as SendGrid or Mailgun, there is no mismatch to point out. The From address, the signature and the delivering server all belong to you. Recipients see your name and your address, nothing else.
Salesforce cannot log in to a mail server by itself. SMTP Relay accepts the email from Salesforce and forwards it to your server with your credentials. Pick the guide for your mail server:
- Integrate Office365 with Salesforce, for email that leaves from your own Microsoft mailboxes
- Integrate SendGrid with Salesforce
- Integrate Mailgun with Salesforce
- Integrate any SMTP server with Salesforce
Sending as several people or brands
If your org sends email for more than one domain, the Business plan can route each sender address to a different mail server, so every brand's email leaves from its own server. See plans and pricing.