Hi Pablo,

could you be more specific:

 - would you like to connect to a mail server and read the mails including the 
attachement
   (if so which protocols do you need, POP, IMAP and MAPI comes to mind)
 - or would you just like to extract it from a saved email file format

Pharo includes support for POP3 (POP3Client and ZdcSecurePOP3Client used for
sending mails). Typically it is used to send mails.
Dont know if current implementation has support to retrieve mail infos as well, 
if not
it would be good when code is extended to the according RFC. 

If I remember correctly there was also POP3 client to retrieve mail infos to
Squeak, just google it. 

  http://smalltalk.org/videos/video_Classes_POP3Client.html

There was/is also Celeste - an email reader tool for Squeak. Dont know if code 
is 
still part of the base Squeak system. Porting may be easy (file in/file out)
or hard (adoption as Pharo changed a lot after forking from Squeak).

http://wiki.squeak.org/squeak/1467

Also read: 

http://www.codejava.net/java-ee/javamail/download-attachments-in-e-mail-messages-using-javamail

regarding attachements.

Hope this helps
T.

Reply via email to