Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On search with "before" param: BAD Command Argument Error. 11 #238

Open
ig-garcia opened this issue Apr 9, 2024 · 0 comments
Open

On search with "before" param: BAD Command Argument Error. 11 #238

ig-garcia opened this issue Apr 9, 2024 · 0 comments

Comments

@ig-garcia
Copy link

It looks like the querybuilder may be adding too many double quotes to the dates?
image

My error:

param: BAD Command Argument Error. 11

My use case:

final cutoffDate =
        (await _localDataSource.getOldestMessage())?.decodeDate()!;
    final List<MimeMessage> newMessages;
    if (cutoffDate != null) {
      final searchResult = await mailClient.searchMessages(
          MailSearch("", SearchQueryType.subject, before: cutoffDate));
ig-garcia pushed a commit to ig-garcia/enough_mail that referenced this issue Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant