Author |
|
opticalpigion Newbie
Joined: 24 August 2014 Location: India
Online Status: Offline Posts: 1
|
Posted: 24 August 2014 at 3:03am | IP Logged
|
|
|
Hello,
I have started to work on this script, however after looking at so many pages I am not able to understand how emails are filtered and sorted in different folder.
for example,
how new emails are sorted in INBOX, sent emails are in send and spam..trash etc.
In database, there is folder order as "INBOX","INBOX.Sent","INBOX.Drafts","INBOX.Junk","INBOX.Trash"
Plus where actual email are stored in mysql database?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 25 August 2014 at 5:42am | IP Logged
|
|
|
When logging into email account for the first time, WebMail checks whether it has folders required, namely Sent, Drafts, Trash and Spam. The name doesn't have to be exact and various matches are looked up - for example, if folders is called Sent Items, it will be properly recognized as Sent too. And if the folder wasn't found, it will be created. Later on, you can reassign those folders in Manage Folders screen of your account.
Note that exact folder name and path might be different from what you see in the interface, not to mention that those interface entries are localized - so you'll see "Inbox" in English, "Posteingang" in German etc., regardless of the actual folder name.
WebMail does not store emails in the database or on the filesystem, it accesses mail messages directly on IMAP server. That allows for much better performance compared to clients which have to perform sync at all times. WebMail fetches messages page-by-page, so even if you have 100,000 emails in your Inbox it wouldn't matter since they're never loaded at once.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|