-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Could not append message to Sent
if the sending folder is not named Sent
#172
Comments
It may be because of the |
I changed it to this: name = "Sambalakuja"
downloads-dir = "/home/tornax/Downloads"
default-page-size = 50
signature = "I use Arch btw"
watch-cmds = ["mbsync -a"]
[gmail]
default = true
email = "Sambalakuja@gmail.com"
imap-host = "imap.gmail.com"
imap-port = 993
imap-login = "sambalakuja@gmail.com"
imap-passwd-cmd = "pass show sambalakuja@gmail.com"
smtp-host = "smtp.gmail.com"
smtp-port = 465
smtp-login = "sambalakuja@gmail.com"
smtp-passwd-cmd = "pass show sambalakuja@gmail.com" But the error still exists. |
So I guess it comes from the |
That's what I get if I run �[1m�[4m�[37mDELIM �[0m�[38;5;8m│�[0m�[1m�[4m�[37mNAME �[0m�[38;5;8m│�[0m�[1m�[4m�[37mATTRIBUTES �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32mINBOX �[0m�[38;5;8m│�[0m�[34m\HasNoChildren �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32m[Gmail] �[0m�[38;5;8m│�[0m�[34m\HasChildren, \NoSelect �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32m[Gmail]/All Mail �[0m�[38;5;8m│�[0m�[34m\All, \HasNoChildren �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32m[Gmail]/Drafts �[0m�[38;5;8m│�[0m�[34m\Drafts, \HasNoChildren �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32m[Gmail]/Important �[0m�[38;5;8m│�[0m�[34m\HasNoChildren, \Important �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32m[Gmail]/Sent Mail �[0m�[38;5;8m│�[0m�[34m\HasNoChildren, \Sent �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32m[Gmail]/Spam �[0m�[38;5;8m│�[0m�[34m\HasNoChildren, \Junk �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32m[Gmail]/Starred �[0m�[38;5;8m│�[0m�[34m\Flagged, \HasNoChildren �[0m
�[37m/ �[0m�[38;5;8m│�[0m�[32m[Gmail]/Trash �[0m�[38;5;8m│�[0m�[34m\HasNoChildren, \Trash �[0m Interestingly I get this, if I do
I guess that it's due to the |
In fact I should take the folder that has the attribute |
Sent
Sent
if the sending folder is not named Sent
Sent
if the sending folder is not named Sent
Sent
if the sending folder is not named Sent
Ok, so it looks like that there's a general problem to with gmail accounts:
This time, the mail couldn't have been sent (at least I can't find it anywhere in my gmail account). |
Yes, I guess there is a general problem about names. I think I should take mailboxes depending on the attributes rather than just names. It's really strange that nobody open an issue yet about this problem, it is quite important ! |
Does this problem have a workaround now? |
The workaround is change all |
Well you're actually right with that, but this would only work for Gmail-accounts. I'm currently writing on a little refactor and can take this problem afterwards. But I have to wait for @soywod first. |
Hm... I'm a little bit unsure, how we should solve this, because: How do we know that a mailbox is the mailbox which should store all mails which are sent? Someone could name it as Should the user apply a "mapping" in the config file to decide which mailboxes should be treated as what? |
The role of a mailbox can be known thanks to its attributes:
It could be nice to check the specs, but it seems that there is universal attributes at least for Drafts, Trash, Junk and Sent. INBOX seems to be the exception. |
Is this something that might be able to be done as a stopgap solution? Right now I can't use himalaya to send emails via gmail. (It's working really well for reading them though.) Just FYI, the same issue exists for the drafts folder, I think. |
As discussed here #226 (comment), the manual mapping remains the most viable solution. I will try implement the solution ASAP and let you know! |
The folders |
So I'm testing some stuff currently and when I tried
himalaya write
, this happened:But: If I look into my gmail account, I cann see my mail under the
Send
mailbox. So doesn't that mean that this error message is wrong?This is my
~/.config/himalaya/config.toml
:The text was updated successfully, but these errors were encountered: