Search Operations - WeOnlyDo Discussion board

Search Operations (wodSmtpServer / wodPop3Server / wodImapServer)

by nestorcastro, Friday, March 06, 2020, 20:32 (1721 days ago)

Hello,

How can I implement the search feature on my IMAP server?

My webmail client have a search box, and when i try to find some message with a given string, no messages is listed even when there is a message with this text.

See your debug log:

----------- NEW SESSION STARTED ------------
* OK [CAPABILITY IMAP4REV1] WeOnlyDo! COM Imap server version 2.4.6.163 ready.
A0001 LOGIN user@domain.com ****PASSWORD******
A0001 OK LOGIN completed
A0002 SELECT spam
* FLAGS (\Seen \Answered \Deleted \Flagged \Draft \Recent)
* 825 EXISTS
* 0 RECENT
* OK [UNSEEN 1] first unseen
* OK [UIDVALIDITY 1524526761] UIDs valid
* OK [PERMANENTFLAGS (\Seen \Answered \Deleted \Flagged \Draft)]
A0002 OK [READ-WRITE] SELECT completed
A0003 CAPABILITY
* CAPABILITY IMAP4REV1
A0003 OK CAPABILITY completed
A0004 UID SEARCH OR HEADER SUBJECT EXAMPLE HEADER FROM EXAMPLE
* SEARCH
A0004 OK UID SEARCH completed
A0005 LOGOUT


Which event is triggered?


Complete thread: