GNOME Bugzilla – Bug 110931
cannot assign outbox to a folder
Last modified: 2004-12-22 21:47:04 UTC
When right-clicking on a folder you get the options to set them to a special flag. But there are only inbox/draftbox/trash/sentbox offered, no chance to assign the sentbox via the UI.
Created attachment 24575 [details] [review] patch to enable outbox-assignment
Attached is a patch to enable the assignment of the outbox. The previous sourcecode stated not to be sure whether to include outbox or not, but without giving a reason. For me, it works just like the other assignments. I also removed some redundancy and added a new helper function for all assignments. I wasn't sure what Mnemonic to use, the rest of my UI is german, and the mnemonics are somewhat broken there, as you also have to consider the submenu under "new".
The patch looks OK but I would like to have some discussion before committing it. The problem is of fundamental character: messing with outbox can be dangerous. In particular, assigning "outbox" to a mailbox that contains "sent mail" can have devastating consequences: resending all messages and their removal.
Yes, but that's the logic behind it, it doesn't have to be foolsafe. Another possible problem is that sending won't work anymore if you assign outbox to an IMAP-folder. Even when sending an email directly, balsa will copy it to outbox and then process all mails in there. I was confronted with this problem when I wanted to queue mails from one computer where I can't submit them, and later, when I wanted to process the queue from another computer. Needs to go via draft-folder now. I don't consider this critical anyways, but I think it's just a viable option a user can fully control, and make mistakes with if he really wants to.
Iirc this was discussed on the list and was considered a BadIdea.