Bug 301946

Summary: Kalarm - mail notifications fail with error message
Product: [Applications] kalarm Reporter: Dimitrios Glentadakis <dglent>
Component: generalAssignee: David Jarvie <djarvie>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: KDE 4   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In: KAlarm 2.8.6, KDE 4.8.5
Sentry Crash Report:

Description Dimitrios Glentadakis 2012-06-15 05:19:45 UTC
The email notifications fail to be sent with the error message:
"Failed to transport message. The server did not accept the sender address "Dimitrios Glentadakis <dglent AT gmail DOT com>". The server responded: "5.5.2 Syntax error. y12sm9384486eem.7"

I have a single a default smtp google account

Reproducible: Always

Steps to Reproduce:
1. Schedule a notification
2. In kmail i have the message "Failed to transport message. The server did not accept the sender address "Dimitrios Glentadakis <dglent AT gmail DOT com>". The server responded: "5.5.2 Syntax error. y12sm9384486eem.7"

Actual Results:  
The mail remains in the outbox 

Expected Results:  
Send the mail

I use kmail, and i am able to send message
Comment 1 Dimitrios Glentadakis 2012-06-16 06:22:31 UTC
This is the source of the message:

"Date: Sat, 16 Jun 2012 08:21:01 +0200
From: Dimitrios Glentadakis <dglentATgmail.com>
To: dglentATgmail.com
Bcc: dglentATgmail.com
Subject: test
User-Agent: KAlarm/2.8.2-ak
Message-ID: <11553568.4D6X9J3gl9@gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7Bit
MIME-Version: 1.0

test"
Comment 2 Dimitrios Glentadakis 2012-06-16 06:38:47 UTC
I double clicked on the above message in kmail outbox folder and i ve just clicked on Send and the mail was sent normaly. This is the source code of the message in the Sent folder:

"From: Dimitrios Glentadakis <dglentATgmail.com>
To: dglentATgmail.com
Bcc: dglentATgmail.com
Subject: test
Date: Sat, 16 Jun 2012 08:35:06 +0200
Message-ID: <2771563.eFqzURtL93@localhost.localdomain>
X-Face: 9YoKg?$nv|s[rE&_v(W1q\wRX<mZ+b=MQB8WEOo=KSSVbjd:as+FYx0j{y9o4yVh@=t(F9 m#f/!'uQ?cSr\S8hF0ZkSE.F-:-`k"mFrx+c9x`n^\^,U56Udi)5j/u(^l8<>Xa*oII96V :G^2sT]?IC(66v:o'|0K}L.L!^tV6:9<^mNacP5J4651H)|+V\\kbOI#h-m\+{g/,4{q2M d%o`sNzBLHKk<1y{Nu3w
User-Agent: KMail/4.8.2 (Linux/3.3.6-desktop-2.mga2; KDE/4.8.2; x86_64; ; )
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

test"
Comment 3 David Jarvie 2012-06-16 17:37:17 UTC
Can you please confirm that in kmail, in Settings -> Configure KMail -> Accounts -> Sending, you have an SMTP account set up for Google mail, and that this is shown as your default sending account.
Comment 4 Dimitrios Glentadakis 2012-06-17 05:18:25 UTC
Yes i have the google smpt as the single a default account
I made this video with the behaviour:
http://glenbox.free.fr/files/kalarm-smtp.ogv 9.3 M
Comment 5 David Jarvie 2012-06-17 18:56:25 UTC
I've tried using an SMTP account on my system, and it works correctly (KDE 4.8 latest). Can you please say what version of KAlarm you are using.

I notice that you have double quotes round the source text. Are these quotes present in the actual source text, or did you add them?
Comment 6 David Jarvie 2012-06-17 19:00:38 UTC
Sorry - I just noticed that the source text contains the KAlarm version number.

Can you please confirm that you substituted "AT" for the original "@" in the source text.
Comment 7 Dimitrios Glentadakis 2012-06-18 04:20:35 UTC
The double quotes "" i putted them to show where it starts end finnish the source message.
Yes, i replaced the @ with the AT
My version of kalarm is the 2.8.2-ak
Comment 8 David Jarvie 2012-07-07 20:43:55 UTC
Now fixed, for KDE 4.9.0.

Git commits f4ea2ad3a3044206fb5c0b1cb986d33248efbe98 (master), dfb7665bfefa06265e8e9751d2007cfce6920445 (4.9 branch).
Comment 9 Dimitrios Glentadakis 2012-07-09 10:22:45 UTC
Thanks very very much, i am very happy that a solution has be found
Comment 10 David Jarvie 2012-07-14 20:14:45 UTC
There will now be a KDE 4.8.5 release, which will include the fix.