Add option to save sent mail
This adds the ability for Geary to push sent mail up to the account's Sent Mail folder (if available). There's an accompanying account option that defaults to on (meaning: push sent mail). The current implementation will leave messages in the Outbox (though they won't be sent again) if they fail to be pushed to Sent Mail. This isn't the best solution, but it at least means you have a way of seeing the problem and hopefully copying the data elsewhere manually if you need to save it. Note that Geary might not always recognize an account's Sent Mail folder. This is the case for any "Other" accounts that don't support the "special use" or "xlist" IMAP extensions. In this case, Geary will either throw an error and leave messages in the Outbox, or erase the message from the Outbox when it's sent, depending on the value of the account's save sent mail option. Better support for detecting the Sent Mail folder in every case is coming soon. Closes: bgo #713263
This commit is contained in:
parent
0dcf353ac2
commit
cce04b814f
22 changed files with 374 additions and 96 deletions
7
sql/version-017.sql
Normal file
7
sql/version-017.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
--
|
||||
-- We're now keeping sent mail around after sending, so we can also push it up
|
||||
-- to the Sent Mail folder. This column lets us keep track of the state of
|
||||
-- messages in the outbox.
|
||||
--
|
||||
|
||||
ALTER TABLE SmtpOutboxTable ADD COLUMN sent INTEGER DEFAULT 0;
|
||||
Loading…
Add table
Add a link
Reference in a new issue