Re: [exim] How to check size or content of text part only?

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] How to check size or content of text part only?
On 13/07/2021 09:19, MRob via Exim-users wrote:
> $message_body has boundary parts and content-type headers and the encoded pdf attachment. Howcan we do regular expr. for message text part only. I not sure if message has plaintext with html or not but I think just plaintext. Alternate, how can we test $message_size only for text part?


Mave a look around
http://exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html#SECTscanmimepart

and $mime_content_size
--
Cheers,
Jeremy