Gotchas / IMAP-Client
About IMAP-Client
Work in progress
Primitive IMAP client.
Based on IMAP (http://www.squeaksource.com/IMAP.html) by Brian Murphy-Dye.
Allows retrieval of messages from IMAP servers. You can read messages with: imap := (IMAPAccount server: 'imap.server.com' emailAddr: 'me@myemail.address.com' username: 'me' password: (Passwords for: 'me@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@myemail.address.com' username: 'me' password: (Passwords for: 'me@myemail.address.com')) mail: 'Subject: hey you hello world' from: 'billy.bob@myemail.address.com' to: 'me@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"'.
