> > While you are at it, you can also scan for > > full /Content-Type: image\/gif;\n[^a-z]+name=""/
> It's already been mentioned, but mimeheader is the right way to look > at the headers of MIME parts. How about multiline Content-Types? I tried without success: mimeheader NAMELESSGIF_ATTACHMENT Content-Type =~ /image\/gif;\n[^a-z]+name=""/ But this seems to work: mimeheader NAMELESSGIF_ATTACHMENT Content-Type =~ /image\/gif;\s*(\n\s+)?name=""/ Whadya think? Thx, Andy.