-
Notifications
You must be signed in to change notification settings - Fork 56
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
No mailbox with flag MailboxFlag.sent found #170
Comments
Thanks for the report, what mail service are you using? dependencies:
enough_mail:
git:
url: https://github.com/Enough-Software/enough_mail.git I assume that you are using |
I am also facing a similar issue. There are no flags present in mailboxes list neither sent nor any other (draft,archive,junk etc..) |
But this is not compatible with enough_flutter and enough_editor |
I assume this is because the mail service in question does not support mailbox flags, rfc 6154. In regards to the dependencies, you can also alter the dependencies of enough_mail_flutter and enough_mail_html to target to the respective git repositories. dependencies:
enough_mail:
git:
url: https://github.com/Enough-Software/enough_mail.git
enough_mail_flutter:
git:
url: https://github.com/Enough-Software/enough_mail_flutter.git
enough_mail_html:
git:
url: https://github.com/Enough-Software/enough_mail_html.git |
Yes, I am encountering the mailbox flags issues. this problem occurs when save a draft and also while appending the message to sent when sending a message. |
You can now specify a target mailbox when sending a message or when saving a draft. This is useful in case the IMAP service does not support mailbox flags. Relates to #170
When the IMAP service does not support mailbox flags, it pretty much boils down to guessing, so implementations can now either guess or ask the user to specify the respective mailboxses. I just pushed a change to Note that you can also set the Future<void> sendMessage(
MimeMessage message, {
MailAddress? from,
bool appendToSent = true,
Mailbox? sentMailbox,
bool use8BitEncoding = false,
List<MailAddress>? recipients,
}) In Future<UidResponseCode?> saveDraftMessage(MimeMessage message,
{Mailbox? draftsMailbox}) Both changes are available on head.
|
I can't access the Sent folder with the library, but I can on any other client email app, when I try to send an email with this library, I receive this response:
Unhandled Exception: MailException: No mailbox with flag MailboxFlag.sent found in ["Lixo Eletrônico" exists: 0, highestModeSequence: null, "Itens Excluídos" exists: 0, highestModeSequence: null, "Itens Enviados" exists: 0, highestModeSequence: null, "Trash" exists: 0, highestModeSequence: null, "INBOX.spam" exists: 0, highestModeSequence: null, "Sent" exists: 0, highestModeSequence: null, "Drafts" exists: 0, highestModeSequence: null, "INBOX" exists: 4, highestModeSequence: 16].
The text was updated successfully, but these errors were encountered: