Introduce one step AUTH PLAIN for SMTP.
authorValerio Valerio <valerio.valerio@jollamobile.com>
Tue, 14 Jan 2014 12:31:40 +0000 (14:31 +0200)
committerValerio Valerio <valerio.valerio@jollamobile.com>
Wed, 15 Jan 2014 11:54:32 +0000 (12:54 +0100)
commit67cb17056360382565d6cb3272080193bfa3105e
treec8789fce71d876c098f00aec490c66835409d79a
parentbcc4578732b757d606e61aba631a6ed2e3c63581
Introduce one step AUTH PLAIN for SMTP.

SMTP authentication using AUTH PLAIN supports two ways to send authentication information to the server,
seems that some servers don't support anymore authentication in two steps:

c: AUTH PLAIN
S: 334
C: encoded username and password
S: 235 2.7.0 Authentication successful

Auth in one step introduced by this commit, reduces communication with the server

c: AUTH PLAIN enconded username and password
S: 235 2.7.0 Authentication successful

Change-Id: I1924af8d7969ce3b3825f2072edabce93c257a34
Signed-off-by: Valerio Valerio <valerio.valerio@jollamobile.com>
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
src/plugins/messageservices/smtp/smtpauthenticator.cpp