Archived Forum Post

Index of archived forum posts

Question:

imap.Search with Header Message-ID Issue

Nov 17 '16 at 07:50

Hey guys,

i have a little Issue with searching an EMail by Message-ID.

My code: messageSet = Imap.Search("HEADER Message-ID <xyzzyx>", 1) Result is messageSet.count = 0 messageSet.LastErrorText = ChilkatLog: --ChilkatLog

If i try this messageSet = Imap.Search("ALL", 1) Result is messageSet.count = 255 messageSet.LastErrorText = ChilkatLog: --ChilkatLog

And the EMail with the Message-ID <xyzzyx> is in the Result.

Can anyone tell me why the first search statement didnt work?

greetz

Dominik