Author |
|
kasparschmid Newbie
Joined: 19 July 2007
Online Status: Offline Posts: 3
|
Posted: 19 July 2007 at 1:15am | IP Logged
|
|
|
Hi
I use the function Imap.DownloadEnvelopes to donwload an overview of the mailbox. If a new mail was coming in, it has the flag "\recent". But even after downloading the message gets the flag "\seen" automaticly from the server.
Is there a function to download a message overview without setting this "\seen" flag?
|
Back to Top |
|
|
oleg AfterLogic Support
Joined: 11 April 2007 Location: United States
Online Status: Offline Posts: 21
|
Posted: 19 July 2007 at 3:52am | IP Logged
|
|
|
Try to use "ExamineFolder" method instead of currently used "SelectFolder" method.
"When the folder is selected for read-only access, the selected folder is identified as read-only. No changes to the permanent state of the folder, including per-user state, are permitted; in particular, when messages are downloaded, they won't lose the \Recent flag."
To learn more about usage of this method please visit the following URL:
http://www.afterlogic.com/mailbee_net/docs/ MailBee.ImapMail. Imap.ExamineFolder.html
--
Best regards,
Oleg, MailBee Support
|
Back to Top |
|
|
kasparschmid Newbie
Joined: 19 July 2007
Online Status: Offline Posts: 3
|
Posted: 19 July 2007 at 4:29am | IP Logged
|
|
|
Works great :-)
Thank you!
|
Back to Top |
|
|