Hi Cédrick,

On Fri, 8 Mar 2019 at 16:12, Cédrick Béler <cdric...@gmail.com> wrote:
>
> Hi Alistair,
>
> This looks like what I’d like to have (parsing emails). I’d better like an 
> IMAP Client but using offlinmap might be an option.
>
> Will look at it.
>
> Do you have an exemple of milder format files ?

Attached is the email you sent.

I found https://github.com/codeZeilen/SMailDir but it is written for
Squeak and doesn't load cleanly in Pharo (I haven't actually done
anything with it yet).

Cheers,
Alistair


> > Le 8 mars 2019 à 15:49, Alistair Grant <akgrant0...@gmail.com> a écrit :
> >
> > Hi Everyone,
> >
> > I'd like to be able to parse and read the mail files as saved by
> > offlineimap, i.e. in maildir format (one message per file).
> >
> > Does anyone know of any existing libraries in Pharo?
> >
> > Thanks very much,
> > Alistair
> >
>
>
Delivered-To: akgrant0...@gmail.com
Received: by 2002:adf:f60c:0:0:0:0:0 with SMTP id t12csp8602606wrp;
        Fri, 8 Mar 2019 07:12:35 -0800 (PST)
X-Google-Smtp-Source: 
APXvYqyBULvLpmGOcHmSY32oNpah6+9Q1+jsoGuCWrldlE+6N1ssoDlcF4sOe56oCvZf45IQq8Tz
X-Received: by 2002:a37:7ac6:: with SMTP id v189mr1718893qkc.205.1552057955857;
        Fri, 08 Mar 2019 07:12:35 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1552057955; cv=none;
        d=google.com; s=arc-20160816;
        b=nWzIqH0rl4J/gIywtYSkjB0MpJKZmVEAij9WfoNQ+7w8TpsTvHZ2rO6RrD2JBV938b
         /cr80WR/f/ThOF9Zio63/dweitly+DXR1dBAXCXG8h1ZbQsn4uwo8LoJSIE7diVA31kh
         oRqXv1KaS1PegIfpt3VnkjlEYyIoyUzX2GuA5bniS109AP5NA2Ccs0/K6nKhJr70E6l1
         mQqR/ttf3wc91wIv6VKfW4u5/a4gA3Fy0BXxjCpZNAfeVK6LNk6oTyXiDVcG2ewrEzam
         ojsspfJixRk9DDQ4/6mDrQeBNT+a3olgi7Yvhvu1rRZpS6Jya+F1u0vkKoEQi2hG3lhA
         fyqA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; 
s=arc-20160816;
        h=sender:errors-to:reply-to:list-subscribe:list-help:list-post
         :list-archive:list-unsubscribe:list-id:precedence:subject:message-id
         :in-reply-to:to:references:date:mime-version
         :content-transfer-encoding:from:dkim-signature;
        bh=JLBqlHE8xrteXdPe7tOJaVhkGilsOxLBhklK69nyufI=;
        b=ldgX5puIMSXDWv48kjErgF1ObLYmtqQx//YsZJIQISD7PPkLzw+baSvf/REjrwLc9v
         CsQMfYOPtDrYOv6nDJjuKd5+I6pP/WR5kahXt6Qbud781AA4wCEonhvHEanqEkuJTL2p
         KDIW163ExeOw7O4slhgrwtbyvzqIGVp4dVunHyO/oLqmdrvyrPx97nGkX4a1J9OMYAHe
         VCqd/dRLAWVS77ZnskCUnzGN0fmC8HwIt+dfY4T5O0ea9HXdfKbUbQ1crf8gF3hZ8Vhp
         sgfBTNIMbl7TsJKC4X+5/oXF3mguBoj7No+IKO3xUXty/44+VxAsi/HTJdufU96Lio5S
         ZvHw==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=vQv+2Amn;
       spf=neutral (google.com: 172.104.12.73 is neither permitted nor denied 
by best guess record for domain of pharo-users-boun...@lists.pharo.org) 
smtp.mailfrom=pharo-users-boun...@lists.pharo.org;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Return-Path: <pharo-users-boun...@lists.pharo.org>
Received: from mm1.emwd.com (mm1.emwd.com. [172.104.12.73])
        by mx.google.com with ESMTPS id 7si5019284qto.247.2019.03.08.07.12.35
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 08 Mar 2019 07:12:35 -0800 (PST)
Received-SPF: neutral (google.com: 172.104.12.73 is neither permitted nor 
denied by best guess record for domain of pharo-users-boun...@lists.pharo.org) 
client-ip=172.104.12.73;
Authentication-Results: mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=vQv+2Amn;
       spf=neutral (google.com: 172.104.12.73 is neither permitted nor denied 
by best guess record for domain of pharo-users-boun...@lists.pharo.org) 
smtp.mailfrom=pharo-users-boun...@lists.pharo.org;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Received: from [::1] (port=40352 helo=mm1.emwd.com)
        by mm1.emwd.com with esmtp (Exim 4.91)
        (envelope-from <pharo-users-boun...@lists.pharo.org>)
        id 1h2HAp-0006Hr-3J; Fri, 08 Mar 2019 10:12:35 -0500
Received: from mail-wm1-f53.google.com ([209.85.128.53]:36403)
 by mm1.emwd.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
 (Exim 4.91) (envelope-from <cdric...@gmail.com>) id 1h2HAn-00064x-Iq
 for pharo-users@lists.pharo.org; Fri, 08 Mar 2019 10:12:33 -0500
Received: by mail-wm1-f53.google.com with SMTP id j125so12764950wmj.1
 for <pharo-users@lists.pharo.org>; Fri, 08 Mar 2019 07:12:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:content-transfer-encoding:mime-version:subject:date:references
 :to:in-reply-to:message-id;
 bh=JLBqlHE8xrteXdPe7tOJaVhkGilsOxLBhklK69nyufI=;
 b=vQv+2Amn6rfPv/JGQO38SvNlrlQxsnUjIUHZSRiYo8Eh9GrbRAP8W3tuVli7ERsfPM
 J9x3+AEebW37e/ir7BLvoTbzkh9bJfF8OXR7MRTfskaQJpJNGQhI7wuQ9IVhAC01SfRK
 yvVatoe1lroT0dnLDgKgiFoVO5MaZ3JiYBJMnTD8S5MtQ4Ubzjwda/X+CuZ51GI+9p8s
 t6y3Xh//Ujmtk/D0TtomuZuf/U1ocFNPBig9fyXV5/p34vAeH+Qo/ZwKaf6lPq3wtGRm
 GLjsY8WTlfDYTmSR8e0w/ezjz+5XUqzrKiNr064ga5CMTyJVCwLfqc1U+TcY0TEAcOHd
 yuvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:date:references:to:in-reply-to:message-id;
 bh=JLBqlHE8xrteXdPe7tOJaVhkGilsOxLBhklK69nyufI=;
 b=EnaB4iK31429RPcfXWI+bg5eN5B3ZKvJhLaCck5Dv62A5ScPCB84f/KqT7MO+qMA5/
 GGj05z45ZnaoT7noER1hsvrQeRD88Hi1P8vmNHtntFHl983LQvnb91DAk1/AwdxPNxyc
 uBpGINjLRwi6GibCqjdD/oIkUxS/g/J0qheB1nBhlsxSLBq+XzG7FKCfe5aJdoY7S8oA
 S/Wef16T6kJEMgCUK6RXnb/EN1imZ2amckwQRfqGncFHZHPziAsBEAeac8+Qcw41j6e+
 XRCbWEHihEGjVCcC2dmb4shFPiKw9i7CwnDQr3ajEcBFbwH7M1AbffVYgZ95O0+NybAS
 3iag==
X-Gm-Message-State: APjAAAWpuQAGpqdd4ZSI3//WnbdFDSw9hh8eHGkboQv0dKT9UaY50UAL
 Jy1KWUXVNV9FhGu5d3kB8fUTXmyPBPI=
X-Received: by 2002:a7b:cb8e:: with SMTP id m14mr8832539wmi.64.1552057912014; 
 Fri, 08 Mar 2019 07:11:52 -0800 (PST)
Received: from [192.168.8.103] ([37.168.163.3])
 by smtp.gmail.com with ESMTPSA id t9sm9958128wrx.73.2019.03.08.07.11.50
 for <pharo-users@lists.pharo.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 08 Mar 2019 07:11:51 -0800 (PST)
From: =?utf-8?B?Q8OpZHJpY2sgQsOpbGVy?= <cdric...@gmail.com>
Content-Type: text/plain;
        charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Date: Fri, 8 Mar 2019 16:11:50 +0100
References: <ca+gugj028jqmywl_kwwdz5ihg1n6yi_mdwf6jjk0uzqbrd8...@mail.gmail.com>
To: Any question about pharo is welcome <pharo-users@lists.pharo.org>
In-Reply-To: 
<ca+gugj028jqmywl_kwwdz5ihg1n6yi_mdwf6jjk0uzqbrd8...@mail.gmail.com>
Message-Id: <413e1367-b9c1-43c9-9926-0f0169380...@gmail.com>
X-Mailer: Apple Mail (2.3445.102.3)
Subject: Re: [Pharo-users] Read and parse maildir (offlineimap) files
X-BeenThere: pharo-users@lists.pharo.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Any question about pharo is welcome <pharo-users.lists.pharo.org>
List-Unsubscribe: 
<http://lists.pharo.org/mailman/options/pharo-users_lists.pharo.org>, 
 <mailto:pharo-users-requ...@lists.pharo.org?subject=unsubscribe>
List-Archive: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/>
List-Post: <mailto:pharo-users@lists.pharo.org>
List-Help: <mailto:pharo-users-requ...@lists.pharo.org?subject=help>
List-Subscribe: 
<http://lists.pharo.org/mailman/listinfo/pharo-users_lists.pharo.org>, 
 <mailto:pharo-users-requ...@lists.pharo.org?subject=subscribe>
Reply-To: Any question about pharo is welcome <pharo-users@lists.pharo.org>
Errors-To: pharo-users-boun...@lists.pharo.org
Sender: "Pharo-users" <pharo-users-boun...@lists.pharo.org>
X-AntiAbuse: This header was added to track abuse, please include it with any 
abuse report
X-AntiAbuse: Primary Hostname - mm1.emwd.com
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lists.pharo.org
X-Get-Message-Sender-Via: mm1.emwd.com: acl_c_authenticated_local_user: 
mailman/mailman
X-Authenticated-Sender: mm1.emwd.com: mail...@lists.pharo.org
X-Source: 
X-Source-Args: 
X-Source-Dir: 

Hi Alistair,=20

This looks like what I=E2=80=99d like to have (parsing emails). I=E2=80=99=
d better like an IMAP Client but using offlinmap might be an option.

Will look at it.=20

Do you have an exemple of milder format files ?

Cheers,

C=C3=A9drick



> Le 8 mars 2019 =C3=A0 15:49, Alistair Grant <akgrant0...@gmail.com> a =
=C3=A9crit :
>=20
> Hi Everyone,
>=20
> I'd like to be able to parse and read the mail files as saved by
> offlineimap, i.e. in maildir format (one message per file).
>=20
> Does anyone know of any existing libraries in Pharo?
>=20
> Thanks very much,
> Alistair
>=20


Reply via email to