Bug 249993

Summary: When sending fails, sometimes success and error message - mail afterwards lost
Product: [Applications] KMail Mobile Reporter: Felix Wolfsteller <felix.wolfsteller>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: critical CC: bjoern.ricks, kde
Priority: VHI    
Version: unspecified   
Target Milestone: ---   
Platform: Maemo 5   
OS: Linux   
Latest Commit: Version Fixed In:

Description Felix Wolfsteller 2010-09-03 12:43:38 UTC
When sending a mail to nasty recipient, like "no@ one' @demo.kolab.org", contradictory notifications are shown (first error, then success).

The mail is afterwards not to be found in sent-mails, nor in the outbox.

Likely string relation to https://bugs.kde.org/show_bug.cgi?id=248775 .

Observed in 4:4.5~20100903.1171170-1maemo1.1170522 .
Comment 1 Felix Wolfsteller 2010-09-03 12:45:44 UTC
Sorry, strong not string correlation.
Comment 2 Felix Wolfsteller 2010-09-20 11:03:50 UTC
Just getting "E-mail successfully sent" with version 4:4.5~20100920.1177273-1maemo1.1174921 . Mail not in sent-mail.
Comment 3 Bjoern Ricks 2010-09-20 15:04:19 UTC
Additionally if I am working in offline mode the dialog says mail successfully sent but mail is only stored in outgoing folder. This may be irritating to users.
Comment 4 Björn Balazs 2010-09-22 11:01:05 UTC
Is this a dublicate of https://bugs.kde.org/show_bug.cgi?id=251917 ?
Comment 5 Volker Krause 2010-09-29 15:04:02 UTC
SVN commit 1180939 by vkrause:

Don't emit sentSuccessfully() after failed(), that causes the current
draft to be lost.

BUG: 251917
BUG: 249993


 M  +3 -1      messagecomposer/composerviewbase.cpp  
 M  +1 -0      mobile/mail/composerview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1180939
Comment 6 Felix Wolfsteller 2010-10-01 12:26:09 UTC
Confirmed. With 4:4.5~20101001.1181430-1maemo1.1181463, success-message pops up, mail then in sent-mail.
Comment 7 Volker Krause 2010-10-13 14:32:31 UTC
*** Bug 249756 has been marked as a duplicate of this bug. ***