<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.pmail.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search Results matching tags 'attachment' and 'file extension'</title><link>http://community.pmail.com/search/SearchResults.aspx?o=DateDescending&amp;tag=attachment,file+extension&amp;orTags=0</link><description>Search Results matching tags 'attachment' and 'file extension'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Re: Extract Attachments to file rule</title><link>http://community.pmail.com/forums/post/2949.aspx</link><pubDate>Fri, 13 Jul 2007 12:27:56 GMT</pubDate><guid isPermaLink="false">f3644243-e206-4fd5-9143-9b53a0e05f23:2949</guid><dc:creator>Thomas_N_</dc:creator><description>&lt;BR&gt;Hello!&lt;BR&gt;&lt;BR&gt;I have compared your source code to the one I have in my filtering rules. Having done so, I now have two ideas what to change:&lt;BR&gt;(a) The file extension to search for may be *.tiff (instead of a simple *.tif). Several image editing tools use *.tiff as the file extension for those files when saving them.&lt;BR&gt;(b) The source code you quoted does not have a closing "1" at the end of the filtering rule.&lt;BR&gt;&lt;BR&gt;(a) is simple to handle. The first part of the source code could be &lt;I&gt;If attachment ExtnPart lists "tif, tiff"&lt;/I&gt;. If you want to edit the filtering rule in the filtering rules Editor, do not forget to check the option "This string is a list of possible values, separated by commas".&lt;BR&gt;&lt;BR&gt;(b) "1" at the end of the source code line tells Pegasus Mail to interpret the path given for "SaveAttmt" as the directory where to save the attachment. If there is no "1" at the end, Pegasus Mail uses the value for "SaveAttmt" as the file name to save the attachment with. (At least, this is what I think it works.)&lt;BR&gt;When editing the rule in the filtering rules Editor, click on the "Set..."-button (provided you have chosen "Save attachment to file" as the action). If you check the option "Save the attachment using the filename encoded in  the message", you should enter the directory where to save the attachment - if you do not check that option, you should enter the actual filename to be used for saving the attachment.&lt;BR&gt;I think you may have forgot to check the option.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Perhaps, the following source code may help you: &lt;I&gt;&lt;STRONG&gt;If attachment ExtnPart lists "tif, tiff" SaveAttmt "C:\\save_here" 1&lt;/STRONG&gt;&lt;/I&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;&lt;U&gt;EDIT:&lt;/U&gt;&lt;/STRONG&gt; I am sorry...after reading the whole thread again, I am not that sure anymore that my suggestion really works. :-( I did not see that you had posted the original question in the &lt;STRONG&gt;Mercury forum&lt;/STRONG&gt;; however, I had &lt;STRONG&gt;Pegasus Mail&lt;/STRONG&gt; in mind when replying. As I have not used Mercury a lot, I am not sure whether my advice is really helpful for Mercury as well. Sorry for the confusion. :-(&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;The example I gave above was taken from a Pegasus Mail filtering rule set, so do not be surprised if it differs from the filtreing rule sets Mercury generates.&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;&lt;BR&gt;&lt;/FONT&gt;</description></item></channel></rss>