Bug 388573 - Draft message is confused about mail transport
Summary: Draft message is confused about mail transport
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-05 15:22 UTC by Allen Winter
Modified: 2018-01-15 06:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Winter 2018-01-05 15:22:44 UTC
When I click open a draft message, the composer starts up and shows an orange warning box that says "Transport was not found. Please verify that you will use a correct mail transport."

If I click [send] the mail seems to be sent just fine.  I don't know why the draft would think my mail transport is broken.
Comment 1 Laurent Montel 2018-01-05 17:37:41 UTC
Oh ! Perhaps we don't store transport in draft message.
I will investigate this WE. (not time this evening)
Regards
Comment 2 Laurent Montel 2018-01-08 06:51:20 UTC
I think it's a draft which was created with another mailtransport id.
I think that you have create this email with another instance of kmail or you reinstall it etc.

This warning is displaying when "X-KMail-Transport: <value>" in unknown.

it's normal that it will send correctly as it will fallback to new mailtransport id.
Comment 3 Allen Winter 2018-01-13 17:24:17 UTC
I created a draft and looked in the message source, where I see:
X-KMail-Transport: 2089707915

double-click open that draft message and I see the orange warning.

In my ~/.config/mailtransports I have
[General]
default-transport=2089707915

and a [Transport 2089707915] section containing
id=2089707915


this all looks correct to me, except for the orange warning
Comment 4 Laurent Montel 2018-01-15 06:05:16 UTC
Git commit 424f0273dbebd115da6812e0b680fb911f282cd4 by Laurent Montel.
Committed on 15/01/2018 at 06:04.
Pushed by mlaurent into branch 'Applications/17.12'.

Fix Bug 388573 - Draft message is confused about mail transport

FIXED-IN: 5.7.2

M  +1    -1    src/kmailtransport/widgets/transportcombobox.cpp

https://commits.kde.org/kmailtransport/424f0273dbebd115da6812e0b680fb911f282cd4