Bug 91777 - DCOP sendMessage() call fails for local user
Summary: DCOP sendMessage() call fails for local user
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.7
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-10-20 21:16 UTC by David Jarvie
Modified: 2011-02-15 12:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Jarvie 2004-10-20 21:16:03 UTC
Version:           1.7 (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3 
OS:                Linux

When attempting to send an email to a local user (the 'To' address being simply the user's login name, without domain) via the sendMessage() DCOP call, the DCOP call returns with a success error code but KMail displays "You must specify at least one receiver, either in the To: field or as CC or as BCC."

If I compose an email manually in KMail and enter the same 'To' address (i.e. just the user login name), the mail gets sent successfully. Also, sending the mail using just the user's login name works directly through sendmail.
Comment 1 Michael Leupold 2008-11-09 09:34:14 UTC
As far as I can tell from the kmail code this is by design. I'm not sure this is documented anywhere but I'm pretty sure the DBus reply doesn't indicate if the mail has been sent successfully. I agree it's something really useful though. Maybe this should be made a wish.
Comment 2 Christophe Marin 2011-02-15 12:19:10 UTC
KDE4 doesn't use DCOP.