Forum Discussion
Transport Rules to Block Messages Containing Certain Content
This is HMTL content? If so, the issue might be that text-matching in transport rules is done on the basis of formatted text rather than the underlying HTML. At least, I think this is the case.
- Jim HillOct 19, 2017Brass Contributor
Yes, it is html content. There is no repeatable text pattern for which to match in these spam mails. One would think that EOP would block content like this. Is there any way to create a filtering rule for html content?
- TonyRedmondOct 19, 2017MVP
EOP doesn't use transport rules. They have their own many and varied ways to parse content to detect problems.
https://technet.microsoft.com/en-us/library/bb123534%28v=exchg.160%29.aspx?f=255&MSPPError=-2147217396 (Set-TransportRule documentation) doesn't indicate how you could check HTML rather than formatted words. I shall try and find out.
TR