[kmail2] [Bug 398036] Password for sending mails not used when specified via password prompt

2018-08-31 Thread Jan Hambrecht
https://bugs.kde.org/show_bug.cgi?id=398036

--- Comment #7 from Jan Hambrecht  ---
Many thanks and great work!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 398036] Password for sending mails not used when specified via password prompt

2018-08-30 Thread Jan Hambrecht
https://bugs.kde.org/show_bug.cgi?id=398036

--- Comment #4 from Jan Hambrecht  ---
Looking at src/kmailtransport/plugins/smtp/smtpjob.cpp it seems the password
from the password dialog is only set to the transport but not to the login job
(see line 290). Probably because of the XOAUTH2 handling in line 286.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 398036] Password for sending mails not used when specified via password prompt

2018-08-30 Thread Jan Hambrecht
https://bugs.kde.org/show_bug.cgi?id=398036

--- Comment #2 from Jan Hambrecht  ---
Yes it is probably sensible to disable the lineedit in the settings dialog if
the store password option is unchecked.

In any case if kmail asks the user for a password via the password prompt
popping up before sending, it should be used for authentication on the mail
server. Otherwise there is no point asking the user for a password, isn't it?
This used to work in older versions and just stopped working in the last kmail
version.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 398036] New: Password for sending mails not used when specified via password prompt

2018-08-29 Thread Jan Hambrecht
https://bugs.kde.org/show_bug.cgi?id=398036

Bug ID: 398036
   Summary: Password for sending mails not used when specified via
password prompt
   Product: kmail2
   Version: 5.9.0
  Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: ja...@gmx.net
  Target Milestone: ---

When the smtp password is not saved in the smtp settings dialog kmail prompts
for a password just before sending a mail. When debugging the ksmtp component I
discovered that an empty password is sent to the server. When I set the smtp
password to be stored in the settings dialog, the password is sent correctly to
the server and sending mails works again.

-- 
You are receiving this mail because:
You are the assignee for the bug.