Bug 283266

Summary: mail sent by Calendar app (rt-click to send iCal) fails with "syntax error". Re-send via KMail is OK.
Product: [Applications] kontact Reporter: Pat <pkbugs+kdebugs>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.7.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Pat 2011-10-03 19:14:44 UTC
Version:           4.7.1 (using KDE 4.7.1) 
OS:                Linux

I'm running

 kontact -v
  Qt: 4.7.4
  KDE Development Platform: 4.7.1 (4.7.1) "release 8"
  Kontact: 4.7.1

If I open Kontact's Calendar, and rt-click -> send-as-ical on an existing calendar item, the send fails due to a transport problem:

	E-mail sending failed: Failed to transport message. Message sending failed since the following recipients were rejected by the server:
	"Pat K test" (The server responded: "syntax error")

and immediately gets dumped into my LocalFolders' Outbox.

If I open the message in the LocalFolders' Outbox, and just click Send, it heads out with no problem.

Looking at the SMTP server logs, I see this at the send from Calendar:

	...
	cmd: RCPT TO:<"Pat K test" <patk@devlan.loc>>
	rsp: 501 syntax error
	cmd: DATA
	rsp: 554 no valid RCPT address specified
	...

and this when I click-to-Send the same message from the LocalFolders Outbox it gets dumped into:

	...
	cmd: RCPT TO:<patk@devlan.loc>
	rsp: 250 patk@devlan.loc will leave the Internet
	cmd: DATA
	rsp: 354 Enter mail, end with "." on a line by itself"
	...

The 'RCPT TO:<"Pat K test" <patk@devlan.loc>>' in the 1st case looks like it may have too many "<", ">".

Reproducible: Always

Steps to Reproduce:
see above


Expected Results:  
mail from calendar should be correctly sent
Comment 1 Christophe Marin 2011-10-03 19:40:10 UTC

*** This bug has been marked as a duplicate of bug 270204 ***