D15528: KSMTP: improve error handling.

David Faure noreply at phabricator.kde.org
Sat Sep 15 12:07:01 BST 2018


dfaure created this revision.
dfaure added reviewers: dvratil, lbeltrame, mlaurent, fvogt.
Herald added a project: KDE PIM.
Herald edited subscribers, added: kde-pim; removed: KDE PIM.
dfaure requested review of this revision.

REVISION SUMMARY
  Sending a mail to doesnotexist at 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 at 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.

REPOSITORY
  R733 KSmtp

BRANCH
  Applications/18.08

REVISION DETAIL
  https://phabricator.kde.org/D15528

AFFECTED FILES
  src/job.cpp

To: dfaure, dvratil, lbeltrame, mlaurent, fvogt
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180915/bd0d3166/attachment.html>


More information about the kde-pim mailing list