Skip to content
Commit 80831750 authored by David Faure's avatar David Faure
Browse files

KSMTP: improve error handling.

Summary:
Sending a mail to doesnotexist@example.com returns a 450 error (at least
on a Kolab server), which was wrongly displayed as "Server time out" to the
user (e.g. above the mail header, in the kmail outbox).

Now this testcase displays
"Failed to transport message. Mailbox unavailable. The server said: 4.1.1 <doesnotexit@example.com>: Recipient address rejected: User unknown in local recipient table"

It's slightly redundant, but the point is that "Mailbox unavailable" can
be translated, while the error text from the server will likely not be.

Reviewers: dvratil, lbeltrame, mlaurent, fvogt

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D15528
parent d0bf8136
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment