diff options
| author | saturneric <[email protected]> | 2026-09-12 19:15:13 +0200 |
|---|---|---|
| committer | saturneric <[email protected]> | 2026-09-12 19:15:13 +0200 |
| commit | 236ba52fec14bda8a7155369a7cd39fc9904354e (patch) | |
| tree | 5e8b015bb7395486c6ef26c7860c2d4d8423a641 /src/m_email/EMailModule.cpp | |
| parent | test(email): cover outgoing message behavior (diff) | |
| download | modules-236ba52fec14bda8a7155369a7cd39fc9904354e.tar.gz modules-236ba52fec14bda8a7155369a7cd39fc9904354e.zip | |
feat(email): save sent messages to IMAP Sent
- append sent messages byte-for-byte through a writable folder
- avoid duplicate copies when the server already filed the message
- report unresolved, failed, and unverified save outcomes
- update dialog status text to distinguish send and filing results
- extend fake IMAP coverage for APPEND literals and save behavior
Diffstat (limited to 'src/m_email/EMailModule.cpp')
| -rw-r--r-- | src/m_email/EMailModule.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/m_email/EMailModule.cpp b/src/m_email/EMailModule.cpp index d805ee2..e870934 100644 --- a/src/m_email/EMailModule.cpp +++ b/src/m_email/EMailModule.cpp @@ -376,6 +376,9 @@ auto GFRegisterModule() -> int { qRegisterMetaType<EMailMessagePage>("EMailMessagePage"); qRegisterMetaType<EMailOutgoingMessage>("EMailOutgoingMessage"); qRegisterMetaType<EMailSendReceipt>("EMailSendReceipt"); + // Crosses a thread boundary as a queued signal argument, so it has to be + // known to the metatype system by name before the first one is emitted. + qRegisterMetaType<MailSentSaveOutcome>("MailSentSaveOutcome"); // vmime's platform handler is assigned lazily with no synchronisation, so // two worker threads racing their first connection could construct it twice. |
