Bug 293586 - E-mail sending failed: Failed to transport message. Unable to create SMTP job.
Summary: E-mail sending failed: Failed to transport message. Unable to create SMTP job.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 4.7
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 23:54 UTC by rp
Modified: 2018-01-05 22:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rp 2012-02-07 23:54:00 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

KDE Mail gives error message for each mail that should be sent: "E-mail sending failed: Failed to transport message. Unable to create SMTP job."

Reproducible: Always

Steps to Reproduce:
Compose a new mail and send it via the defined SMTP sender service.

Actual Results:  
None.

Expected Results:  
Mail succesfully sent.
Comment 1 Laurent Montel 2012-02-08 07:40:18 UTC
your smtp is ok ? 
is it online ? (see to akonadiconsole)
Comment 2 rp 2012-02-08 08:12:07 UTC
In akonadiconsole I can not see any smtp, but in kmail settings there is an SMTP connection defined (I think it was migrated from kmail1 user files)
Comment 3 Laurent Montel 2012-02-08 09:16:06 UTC
sorry; "mail dispatcher agent"
Comment 4 rp 2012-02-08 14:02:07 UTC
Yes it is! But actually I can only see it when I run akonadiconsole from a terminal. Otherwise it does not appear ín akonadi console and is grey when I want to add.
Comment 5 rp 2012-02-15 17:20:15 UTC
With akonadictl I managed to gather the real error message:

posting retrieval request for item 70024  there are  1  queues and  0  items in mine 
request for item 70024 still pending - waiting 
processing retrieval request for item 70024  parts: ("RFC822", "HEAD")  of resource: "akonadi_maildir_resource_2" 
continuing 
request for item 70024 succeeded 
akonadi_maildispatcher_agent(7117): couldn't create slave: "Unable to create io-slave:
klauncher said: Ismeretlen protokoll - „socks”.

The SMTP server is working fine, with smtp-cli there are no errors at all!
Comment 6 rp 2012-02-21 15:16:57 UTC
It sometimes turn OK, and is able to send messages.

If I do a logout & login, and start kdeinit4 from a terminal window, everything turns right.

Which configuration / setting is responsible for that? 
I would like to stabilize that since it is only a workaround now.
Comment 7 jmaldrich 2013-03-24 16:00:16 UTC
I am having this same error on Fedora 17, fully updated, with KDEPIM 4.9.5. Additionally, KMail fails to start after rebooting saying "Failed to fetch the resource collection." for pretty much everything!
Comment 8 Denis Kurz 2016-09-24 18:21:22 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 9 Denis Kurz 2017-01-07 21:56:32 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.
Comment 10 Peter 2018-01-05 22:44:27 UTC
I have just had this problem (or a problem resulting ostensibly in the same result) immediately following a fresh install of KDE Neon 5.8.8 and KMail 5.6.3.  This seems to have been due to the fact that kio-smtp was not installed during the KMail installation and was solved by installing kio-smtp manually.