TIdIMAP4.SendCmd - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Indy (https://www.atozed.com/forums/forum-8.html) +--- Forum: Indy General Discussion (https://www.atozed.com/forums/forum-9.html) +--- Thread: TIdIMAP4.SendCmd (/thread-491.html) |
TIdIMAP4.SendCmd - Boba TC - 07-11-2018 Dear All; here's an easy one: trying to SearchMailBox like this: Code: TIdIMAP4SearchRec sr; Code: ... Should I use IdIMAP4->SendCmd() directly? I would if I knew its proper syntax. Thanks in advance. RE: TIdIMAP4.SendCmd - rlebeau - 07-11-2018 (07-11-2018, 04:22 AM)Boba TC Wrote: The date string has a space char instead of a '0' char in front of the '8', it should be like this instead: Code: C5 SEARCH SINCE 08-JUL-2018 You must be using a VERY old version of Indy, because that problem was fixed a LONG time ago (back around 2010). Please upgrade to a modern version of Indy. If that is not an option for you, then yes, you will have to send the command manually (note that some of the needed functionality is not public), for example: Code: class TIdIMAP4Access : public TIdIMAP4 RE: TIdIMAP4.SendCmd - Boba TC - 07-18-2018 Thanks Remy. Yes, I believe this project is maintained by the very last compiler from Borland. Sorry for being late with reply. Boba. |