cfuser
asked on
Move already read messages to a different folder
I am using cfpop action="getall" to get messages from my pop3 server. Once I read the messages, I would like to move those messages to a custom folder on my pop3 server. How can I do that in coldfusion. Please help. Thanks
Well! at a Round way!
After you download all the Messages from the pop mail, store them in the database and then show them on the scren!, after that once you read, apply a filter to move the read messages to otehr folder!
And yes you have to download the messages to the DB and then you can play around! Directly you cannot any Specific Rule! as
like in outlook you can create a rule that once specific messages, move to another folder, the default behavious of POP is not like this!
if u are on CF 9 use cfimap!
After you download all the Messages from the pop mail, store them in the database and then show them on the scren!, after that once you read, apply a filter to move the read messages to otehr folder!
And yes you have to download the messages to the DB and then you can play around! Directly you cannot any Specific Rule! as
like in outlook you can create a rule that once specific messages, move to another folder, the default behavious of POP is not like this!
if u are on CF 9 use cfimap!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you are NOT on CF9, you can use JAVAMAIL or a custom CFC..
http://coldfusion.sys-con.com/node/41597 -- JAVAMAIL
IMAP CFC
http://www.opensourcecf.com/CFOpenMail/imapcfc_view.cfm
http://coldfusion.sys-con.com/node/41597 -- JAVAMAIL
IMAP CFC
http://www.opensourcecf.com/CFOpenMail/imapcfc_view.cfm
http://www.networksorcery.com/enp/protocol/pop.htm shows functionality available. You may need to think of using something like imap etc