From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [129.177.117.161] ([129.177.117.161]) by mx.google.com with ESMTPS id 46sm1048416eeg.4.2013.01.30.01.32.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Jan 2013 01:32:13 -0800 (PST) Message-ID: <5108E8A0.70005@gaute.vetsj.com> Date: Wed, 30 Jan 2013 10:32:16 +0100 From: Gaute Hope User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2 MIME-Version: 1.0 To: Ico CC: sup-talk Subject: Re: [sup-talk] Automatically saving all attachements References: <1359485303-sup-2521@pruts.nl> In-Reply-To: <1359485303-sup-2521@pruts.nl> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 29. jan. 2013 19:50, Ico wrote: > Does anyone happen to have a hook that automatically saves all > attachements to a given directory when receiving or opening an e-mail? > > Thanks, > > Ico > Maybe there is some inspiration to be found in the save_all_to_disk function (keypress 'A' in thread view mode): https://github.com/sup-heliotrope/sup/blob/master/lib/sup/modes/thread-view-mode.rb#L375 - gaute