We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is the code I'm trying to use, but I always get a "BAD" status when running the fetch.
ImapClient client = new ImapClient(); // connect ImapResponse response = await client.connect("imap.gmail.com", 993, true); print(response.fullResponse); client.fetchHandler = (String mailboxName, int mailboxNumber, Map<String, String> data) { print(mailboxName); print(mailboxNumber); data.forEach((key, value) { print(key); print(value); }); }; // authenticate response = await client.authenticate(USERNAME, PASSWORD); print(response.status); // list folders response = await client.list('', ''); print(response.status); response = await client.select('inbox'); print(response.status); response = await client.fetch('1:*', ['BODY']); print(response.status);
The text was updated successfully, but these errors were encountered:
Hi, this is due to the bug in issue #2, but I am finishing up the rework right now!
Sorry, something went wrong.
Fixed with rewrite
I made this part of the official examples, you can view it here: https://github.com/michaelspiss/imap_client/blob/v1.0.0-alpha/example/fetch.dart
No branches or pull requests
This is the code I'm trying to use, but I always get a "BAD" status when running the fetch.
The text was updated successfully, but these errors were encountered: