Outlook for Windows is available in two versions, classic Outlook for Windows and the new Outlook for Windows. Each version handles images in emails differently, so the steps depend on which version you use.
Classic Outlook for Windows uses junk email filtering and/or security zone settings in Internet Properties to control how hosted content in emails is handled.
Maintaining global Safe Senders Lists can be difficult to scale across your organization. To simplify this, follow the instructions for configuring exceptions for the domains that host Staffbase email images. This ensures that images in Staffbase emails are downloaded automatically in Outlook.
Classic Outlook for Windows
Depending on your Staffbase hosting infrastructure and product lines, you can add the respective Staffbase hosting domains (Staffbase Email / Employee Email (Classic)) to the trusted sites and configure Outlook to download images automatically from the trusted zone:
Staffbase Email
- Web application URL, for example,
exampleapp.staffbase.comor your custom domain
Employee Email (Classic)
- For Employee Email on US hosting infrastructure, add:
https://*.bl-1.comhttps://*.bananatag.com
- For Employee Email on EU hosting infrastructure, add:
https://*.de.bl-1.comhttps://*.de.bananatag.com
- If you have both Staffbase Intranet and Employee Email product lines, add:
- Your Staffbase Intranet domain
- The respective domains for US or EU hosting infrastructure for Employee Email
You can also configure this setting for all managed devices using GPO.
Add the domains as trusted sites on your computer
- In your computer, navigate to Control Panel > All Control Panel Items > Internet Options.
- Under Internet Properties, navigate to Security > Trusted sites > Sites.
The Trusted sites dialog opens.
- In Add this website to the zone, provide the domain you want to include.
- Click Add.
- Repeat steps 3 and 4 till you have added all the domains.
- Click Close after you have added all the domains.
- Under Security level for this zone, adjust the toggle to Medium.
- Click OK.
You have added the domains as trusted sites.
Add the domains to the trust center in Outlook
-
In Microsoft Outlook, navigate to File > Options > Trust Center.
The Trust Center dialog opens. -
In the left navigation panel, navigate to Automatic Download.
-
Under Pictures, select the checkbox for Permit downloads from Web sites in this security zone: Trusted Zone.
- Click OK.
You have added the domains to the Trust Center in Outlook.
You can now send a test email from Staffbase to confirm that images are automatically downloading. If you need further assistance, contact Staffbase Support or your Customer Success Manager.
Add the domains to the trusted sites via Group Policy Object (GPO)
To add domains to the Trusted Sites list via Group Policy Object (
- Open Group Policy Management Console (GPMC):
- On a machine with the necessary administrative tools, press Windows + R, type gpmc.msc, and hit Enter.
- Create or Edit a Group Policy Object (GPO):
- Right-click on the Organizational Unit (OU) where you want to apply the policy, then select Create a GPO in this domain, and Link it here or select an existing GPO to edit.
- Ensure you are applying the GPO to the correct OU(s)
- Rename the GPO (if creating a new one):
- Give it a descriptive name, like Add Trusted Sites.
- Edit the GPO:
- Right-click on the newly created GPO and select Edit.
- Navigate to the Internet Explorer Settings:
- In the Group Policy Management Editor, go to:
- User Configuration -> Policies -> Administrative Templates -> Windows Components -> Internet Explorer -> Internet Control Panel -> Security Page.
- Configure Trusted Sites:
- Look for the setting named Site to Zone Assignment List.
- Double-click on it to open its properties.
- Enable the Policy:
- Select Enabled. In the Show Contents dialog, you can add entries for the sites.
- Add staffbase.com and assign it to the Trusted Sites zone by entering the following:
- Staffbase Email
- Value Name: Web application URL, for example,
exampleapp.staffbase.comor your custom domain - Value: 2 (which corresponds to Trusted Sites).
- Value Name: Web application URL, for example,
- Employee Email (Classic)
- Value Name:
https://*.bl-1.com - Value: 2 (which corresponds to Trusted Sites).
- Value Name:
https://*.bananatag.com - Value: 2 (which corresponds to Trusted Sites).
- Value Name:
- Staffbase Email
- Apply and Close:
- Click OK, then close the Group Policy Management Editor.
- Refresh Group Policy:
- You can either wait for the next policy refresh cycle or run the command
gpupdate /forceon the client machines to apply the new policy immediately.
- Verify the Change:
- Check on a client machine to ensure that the domains have been added to the Trusted Sites list.
New Outlook for Windows
As of now, the new Outlook for Windows doesn’t support the same configuration options as Classic Outlook, you can use the PowerShell workaround as an alternative.
Configure safe senders via PowerShell
You can add your Staffbase sending domain to the safe senders of each mailbox with the Set-MailboxJunkEmailConfiguration cmdlet in Exchange Online PowerShell. This way, images and tracking pixels in Staffbase emails download automatically.
The script applies only to mailboxes that exist when you run it. You only need to run it once for existing mailboxes. If you create new mailboxes later, run the script again to update their Safe Senders lists.
Prepare PowerShell
Some settings are only accessible via PowerShell in Exchange Online. If you haven’t used Exchange Online PowerShell before, install the required modules:
-
Allow script execution:
Terminal window Set-ExecutionPolicy RemoteSigned -
Install the PowerShellGet module:
Terminal window Install-Module -Name PowerShellGet -Force -
Install the Exchange Online Management module:
Terminal window Install-Module -Name ExchangeOnlineManagement
Connect to Exchange Online
-
Load the module:
Terminal window Import-Module ExchangeOnlineManagement -
Connect to Exchange Online. A browser window opens where you sign in with your Microsoft 365 administrator account. Replace the example with your administrator account:
Terminal window Connect-ExchangeOnline -UserPrincipalName admin@yourcompany.com
Add the domain to the safe senders
Run the following script. Replace my.sendingdomain.com with the domain you use to send emails from Staffbase:
Get-EXOMailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited | ForEach-Object { Set-MailboxJunkEmailConfiguration ` -Identity $_.PrimarySmtpAddress ` -TrustedSendersAndDomains @{Add="my.sendingdomain.com"} }The script performs the following actions:
Get-EXOMailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimitedlists all user mailboxes.ForEach-Objectruns the following command for each mailbox from the previous command.Set-MailboxJunkEmailConfigurationadjusts the junk email configuration.-Identity $_.PrimarySmtpAddresspasses the email address of the current mailbox.-TrustedSendersAndDomains @{Add="my.sendingdomain.com"}adds your domain to the safe senders of the mailbox.
After the script has finished and the PowerShell prompt is available again, disconnect from Exchange Online. When prompted to confirm, enter Y:
Disconnect-ExchangeOnlineYou can now send a test email from Staffbase to confirm that images are automatically downloading. If you need further assistance, contact Staffbase Support or your Customer Success Manager.