Spire.Email for .NET is a professional .NET Email library specially designed for developers to create, read and manipulate emails from any .NET (C#, VB.NET, ASP.NET) platform with fast and high quality performance.

Tue Jul 20, 2021 9:57 am

Hello.
I'm use the IMAP.
What's the correct search term for new emails?
Spire.Email.IMap.ImapClient cli = new Spire.Email.IMap.ImapClient();


cli.Connect();
cli.Select("INBOX");
Spire.Email.IMap.ImapMessageCollection results = cli.Search("SEEN FLAGGED") ;

So, do a search with the exception "Format of query string is invalid".

KNatarov
 
Posts: 2
Joined: Tue Jun 01, 2021 6:31 am

Wed Jul 21, 2021 7:53 am

Hello,

Thanks for your inquiry.
I tested your case and did reproduce your issue. I have logged it in our bug tracking system with the ticket SPIREEMAIL-43. If there is any update, we will let you know. Apologize for the inconvenience caused.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri Aug 20, 2021 12:50 pm

Hello,

Greetings from E-iceblue!
Glad to inform you that we just released Spire.Office Platinum(Hotfix) Version:6.8.2 which the issue SPIREEMAIL-43, please download it from the following links to test on your side. Looking forward to your test result.

Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/6.8.2
https://www.nuget.org/packages/Spire.Of ... Core/6.8.2

Test code:
Code: Select all
//Spire.Email.IMap.ImapMessageCollection results = cli.Search("SEEN FLAGGED") ;
Spire.Email.IMap.ImapMessageCollection results = cli.Search("'Seen' = 'true' & 'IsFlagged' = 'true'");


Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Aug 31, 2021 10:48 am

Hello,

Greetings from E-iceblue!
Does this hotfix solve your issue? Any feedback will be greatly appreciated.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.Email