Bug 388035

Summary: Cannot add EWS outbound transport in KMail
Product: [KDE Neon] neon Reporter: James Young <marmarama>
Component: generalAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: benni.buch, hujq, jr, krissn, neon-bugs, nick.berg3, nortexoid, sitter, tonymt00, victor
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description James Young 2017-12-19 14:30:15 UTC
Out of the box on Neon, I cannot add an Exchange Web Services (EWS) outbound email account to take full advantage of Akonadi's new EWS functionality in KMail.  Note that setting up a 'Receiving' EWS Email Account works fine.

This is because the 'Sending' account dialog in KMail needs the kmailtransport-akonadi plugin in order to list Akonadi-provided outbound mail transports.  This plugin is contained in the kmailtransport-akonadi package, and the kmailtransport-akonadi package is not depended on by kmail, so is not installed by default.  Installing the kmailtransport-akonadi package manually resolves the issue.

Please make kmail depend on kmailtransport-akonadi to ensure a nice out-of-the-box experience for Neon end users.
Comment 1 Benjamin Buch 2018-02-01 14:38:01 UTC
I had the same problem, installing the plugin fixes it successfully.

KDE neon git stable branch.
Comment 2 Nick Berg 2018-07-04 01:05:59 UTC
Can you please let me know where to get the plugin for this?
Comment 3 Nick Berg 2018-07-04 02:47:36 UTC
(In reply to Benjamin Buch from comment #1)
> I had the same problem, installing the plugin fixes it successfully.
> 
> KDE neon git stable branch.

Can you please let me know where to get the plugin?
Comment 4 Benjamin Buch 2018-07-05 19:22:31 UTC
If you use KDE neon as Linux distribution it is in your package manager without any additions ;-)

Install it with:

sudo apt install kmailtransport-akonadi
Comment 5 Benjamin Buch 2019-01-04 10:46:17 UTC
This issue is still present.
Comment 6 Michael D 2021-03-15 15:42:38 UTC
I'm using kmail2 5.16.3 (20.12.3) (on Manjaro) and as far as I can tell, this bug is no longer reproducible.
Comment 7 James Young 2021-03-15 16:39:06 UTC
This is a KDE Neon-specific packaging issue so the status of this on Manjaro Linux is unfortunately not relevant.

However, currently the Neon kmail package has kmailtransport-akonadi as a 'Recommends' soft dependency which should cause it to be installed under most circumstances.

I still think this is wrong: if EWS support is installed at all, kmailtransport-akonadi should be a hard dependency.  If install-recommends is off - which is quite easy to do and some apt frontends do by default - then it's possible to set up an EWS receiving account after a fresh KMail install, but not a sending one.  This is confusing behaviour that no end-user would expect.
Comment 8 Michael D 2021-03-16 12:39:30 UTC
I don't think you're supposed to submit distro-specific packaging bugs to bugs.kde.org, but rather to your distro's bug tracker.
Comment 9 Carlos De Maine 2025-09-20 09:35:48 UTC
Thank you for your bug report! 
However this bug report was created/provided previous to 01/01/2023 and also has not received any updates since  before 01/01/2025. 
Unfortunately KDE neon no longer provides updates for anything older than noble 24.04 based edition's.
Please upgrade to KDE neon noble and if you can reproduce the issue after upgrading to an active version, feel free to re-open this bug report.
Thanks for understanding!