I've spent a lot of time this week working on my little webmail app.. It's still mostly read only... you can delete messages, download or view attachments, etc.
I've fixed a whole slew of bugs and incompatibilities in the old imap.cfc, properly var scoped everything (the original author didn't do that). One major thing that was wrong with it (aside from the lack of var scoping) was that it didn't properly handle multipart messages where one of the parts was a multipart part. Someone sent me an email and they attached an image. It was a two part message... the image was one part, and the other part was another multipart object with two parts in it, one text/html and one text/plain. imap.cfc couldn't deal with that. I actually recoded that and wrote a recursive getParts() function that will handle any number of levels of multipart subparts. imap.cfc can and should be loaded into a shared scope, and imap sessions can be stored in the session scope to maintain a connection (preventing the need for authenticating *EVERY* time you want to do something, like in the old imap.cfc) The webmail app itself is coming along nicely, I think. http://www.opensourcecf.com/CFOpenMail/demo If anyone would like to see the imap.cfc, please let me know and I'll email you a copy. rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262512 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

