extract attachments from multiple mails
authorDavid Belohrad <david@belohrad.ch>
Mon, 25 Jun 2012 11:44:26 +0000 (13:44 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:48 +0000 (09:47 -0800)
60/fd4f5502fd2d8f640b39c580eca8c59532198c [new file with mode: 0644]

diff --git a/60/fd4f5502fd2d8f640b39c580eca8c59532198c b/60/fd4f5502fd2d8f640b39c580eca8c59532198c
new file mode 100644 (file)
index 0000000..d777e7f
--- /dev/null
@@ -0,0 +1,61 @@
+Return-Path: <david@belohrad.ch>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 88D3E431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 25 Jun 2012 04:44:30 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ccq0csu9OcO3 for <notmuch@notmuchmail.org>;\r
+       Mon, 25 Jun 2012 04:44:29 -0700 (PDT)\r
+Received: from server.belohrad.ch (static-212-101-19-163.adsl.solnet.ch\r
+       [212.101.19.163])\r
+       by olra.theworths.org (Postfix) with ESMTP id 9635D431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 25 Jun 2012 04:44:29 -0700 (PDT)\r
+Received: from beesknees.cern.ch.belohrad.ch (beesknees.cern.ch\r
+       [137.138.197.99])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by server.belohrad.ch (Postfix) with ESMTPSA id E51E026045;\r
+       Mon, 25 Jun 2012 13:52:43 +0200 (CEST)\r
+From: David Belohrad <david@belohrad.ch>\r
+To: <notmuch@notmuchmail.org>\r
+Subject: extract attachments from multiple mails\r
+User-Agent: Notmuch/0.13.2+47~ga7bc1c7 (http://notmuchmail.org) Emacs/23.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 25 Jun 2012 13:44:26 +0200\r
+Message-ID: <uaxwr2vzkdh.fsf@beesknees.cern.ch>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 25 Jun 2012 11:44:30 -0000\r
+\r
+\r
+Dear All,\r
+\r
+someone can give an advice? I have many emails containing\r
+attachment. This is typically an output of copy-machine, which fragments\r
+a scan into multiple attachments.\r
+\r
+I'd like to extract those attached files in a one batch into a specific\r
+directory. Is there any way how to programmatically fetch those files?\r
+\r
+thanks\r
+..d..\r