• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 948
  • Last Modified:

Remove image attachments and text from emails before mailbox arrival

I have configured a mailbox for staff to email their IT issues to.
All our users have a signature that contains some legal text and few images (company logos and what not... the usual garbage)

Is there a way I can remove the text and images from the email BEFORE it arrives into the mailbox.
Maybe with a hub transport rule or a third party application that can forward it on?

  • 4
  • 2
2 Solutions
Simon Butler (Sembee)ConsultantCommented:
You cannot remove attachments with transport rules (it does have attachment inspection, but that blocks the attachment).

The only tool that I can think of that that might do it is Code Two rules pro. It isn't specifically written, but it might be something it can do, perhaps via a rule reversal.

Version of Exchange would be helpful.

antoniokingAuthor Commented:
Thank you gentlemen
Currently all user signature .htm files are stored on a share.
Group Policy copies the file to the user's PC

This codetwo application could prove very useful indeed!
antoniokingAuthor Commented:
This tool is great for removing keywords, it even allows you to use regular expressions!
Downfall is the attachment support is minimal. You can either remove ALL attachments, attachments of a particular size, or attachments of a particular file type which does not cover my requirement.

I need to be able to specifically target these signature images.
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

Adam (CodeTwo Software)IT AnimalCommented:
Hi antonioking,

The only solution I see is using the Force email format action set to Convert messages to Plain Text. This will remove all the images embedded in the body of an email, regardless if they were in the signature or in the email text. Note that, if your users used to send you e.g. images that illustrate the issues they noticed, they would now have to send those images as standard attachments.

Also keep in mind that the Force email format action will remove any other HTML content such as tables, font formatting, embedded hyperlinks, etc.

BTW, can you share the reason for using Group Policy instead of Hub Transport rules to add email signatures? Maybe that would put us on a track to finding an alternative solution.

Best regards,
antoniokingAuthor Commented:
Thanks Adam
I have enabled the Force Email format rule and I am re-formatting the emails as Text. However the embedded images are simply added as attachments.

Our email signatures are stored on a shared folder.
Group Policy will copy the users signature to the %APPDATA%\Microsoft\Signatures folder
Reason for storing the signature files and not using rules is because our signature's are in html format, contain a number of images depending on the user's department. The signature also contains links to social media pages and contact information for the user.
Simon Butler (Sembee)ConsultantCommented:
If you were to use a proper signature management tool then you could configure everything that you want on the signatures (although I am not a fan of images in signatures at all). That way if a member of staff moves to another department, simply update in one place and it works. The signature would also be applied no matter how the email was sent - Outlook, ActiveSync or OWA.
You could also then configure a rule to not apply the signature when sent to the mailbox in question.

antoniokingAuthor Commented:
Hi Simon
I'm definitely going to look into this. I'm also not a fan of the imagery but it's our directors wish to include them.
Currently, it is very easy to manage. We do only have to update the signatures in one place, since everyone's signatures are in one shared folder, and GPP handles copying the files to the users computers. If we need to update a bulk of them or all of them I simply use find and replace and open all the files in NotePad++

But yes, do agree this CodeTwo tool could fit ours needs and does sound much easier to manage.
The fact it will add the signature to all outgoing mail (activesync and owa) is a huge plus.

Thank you guys, I'm not sure yet how we can remove these specific signature images but the tool has already proved very useful in removing the text and common phrases!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now