IMAP client in squeak?

Brian Murphy-Dye bmd at abq.csl.sri.com
Wed Nov 16 19:02:53 UTC 2005


Hi Stef,

Oh, so many reasons, so little time :) I don't have experience  
publishing to squeaksource (okay, lame excuse) and since I haven't  
made an attempt at merging into the rest of Squeak (i.e., Celeste), I  
figured this is of very limited interest.

Brian.


On Nov 16, 2005, at 8:18 AM, stéphane ducasse wrote:

> Hi brian
>
> why do not you publish it on squeaksource and (with one click on  
> squeak map)?
>
> Stef
>
> On 16 nov. 05, at 01:44, Brian Murphy-Dye wrote:
>
>> I've done some work on creating an IMAP client which may be found at:
>>    http://abq.csl.sri.com/BmdEmail-bmd.1.mcz
>>
>> Not sure this will be considered good Squeak code, but it's been  
>> effective for my purposes. The biggest problems I've experienced  
>> have been with crlf translations, especially on signed or  
>> encrypted S/MIME messages.
>>
>> You can read messages with:
>> imap := (IMAPAccount
>>      server: 'imap.server.com'
>>      emailAddr: 'me at myemail.address.com'
>>      username: 'me' password: (Passwords for:  
>> 'me at myemail.address.com')).
>> "the next statement logs in and selects the Inbox"
>> imap login.   "remembers the latest message counter"
>>
>> "send a message to the account ...."
>> (SMTPAccount
>>       server: 'smtp.server.com'
>>       emailAddr: 'me at myemail.address.com'
>>       username: 'me'
>>       password:  (Passwords for: 'me at myemail.address.com'))
>>  mail: 'Subject: hey you
>>
>> hello world'
>>   from: 'billy.bob at myemail.address.com'
>>   to: 'me at myemail.address.com'
>>
>> imap fetchNew inspect.    "returns ordered collection of new  
>> messages (MailMessage) since login or last fetchNew"
>>
>> "can retrieve specific messages, such as subjects with 'you' and  
>> from 'billy.bob'"
>> imap searchAndFetch: 'subject "you" from "billy.bob"'.
>>
>> Brian.
>>
>>
>> On Nov 14, 2005, at 12:06 AM, goran at krampe.se wrote:
>>
>>
>>> Hi!
>>>
>>> "Doug Way" <dway at mailcan.com> wrote:
>>>
>>>> I believe there is not one, unfortunately.  It would be a great  
>>>> project
>>>> for someone though!  (and I'd use it! :) )
>>>>
>>>
>>> I have a very faint memory of someone actually hacking on IMAP  
>>> support -
>>> but can't for my life recall who it was. There is no "published"  
>>> IMAP
>>> support that I am aware of though.
>>>
>>>
>>>> The only Squeak mail client I know of which has a significant  
>>>> following
>>>> is Celeste, which is a POP client.
>>>>
>>>
>>> Right, I use it. An old version running in an ancient 3.2 image with
>>> Bayesian filtering addon for weeding out spam and the filter  
>>> extension,.
>>> I have about 85000 emails in it and the EMAIL file is half a gig. :)
>>>
>>> regards, Göran
>>>
>>>
>>
>>
>>
>>
>
>




More information about the Squeak-dev mailing list