- When polling Gmail, the item counts returned by cfimap may not match the
same in Gmail (Gmail bug).
You are right on this one, Aaron.  Gmail groups messages by "conversation",
which is really just the email subject lines. For example, I've got this
Gmail folder that has 8 "conversations" but 15 individual email "messages".
However, when I used CFImap to download all messages in that folder, I got
only 10! Upon closer examination, I saw that this is because 5 of the email
messages are from me myself but they got grouped in the "conversations"
because they share the subject lines with those who legitimately belong in
this folder.

I guess if you think about this, it sort of makes sense since the email
messages sent by me are really in the "sent" folder and they only appear in
the "conversation" groups for the sake of completeness. But this grouping
really does create confusion.

- When retrieving emails from Gmail, an email labeled x times, may be
downloaded x times (Gmail quirk).
Yep, you are right on this, too. I guess this is another hazard of the Gmail
system of virtual folders/labels, where a message can have multiple labels.
 Not necessarily a bad thing but definitely something to watch out for.

However, you should not see these issues if you use cfimap to connect to an
IMAP-compliant mail server (instead of Gmail).
Yep, Yahoo has no problem with these issues since they don't allow 1-to-many
relationship between email messages and folders.

BTW, it is disappointing that CFImap does not allow lists in the "folder"
attribute. You've got to use the <cfimap action="GetHeaderOnly"...> tag
twice to get two folders. Maybe something to add to the wish list for CF10!
[?]

Great ideas Aaron, thanks for sharing! Thanks Leigh for the code example,
that really helped.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330466
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to