Closed abdelrahmanahmed closed 7 years ago
Programmatically or in UI?
Programmatically
Unfortunately, no ready examples available. You can use https://afterlogic.com/docs/webmail-pro/integration-and-development/getting-new-or-last-messages for start and extend it with specifying extra parameters of getMessageList function (in webmail/libraries/afterlogic/common/managers/mail/manager.php) which let you configure search. That's all we can suggest..
I have noticed this in the UI can you tell me what are the methods used in this search?
If you put a breakpoint in getMessageList function, you'll see which parameters are passed after you type them in search box in UI. With a bit of experimenting you should get the idea what to pass there.
How can i search and get list of to or from or searching in email subject?