Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: unspecified
-
Fix Version/s: 0.9.10
-
Component/s: Appender
-
Labels:None
-
Environment:Operating System: All
Platform: PC
URL: http://www.nabble.com/Re%3A-SMTPAppender%3A-authentication-option-missing--p10006781.html
-
Bugzilla Id:65
Description
I'm trying to use the SMTPAppender but my SMTP server requires that I authenticate, and it appears that SMTPAppenderBase do not provide the necessary authentication options.
I also notice that SMTPAppenderBase uses Transport.send(), and no where does it use transport.connect(...) that accepts username and password.
I also notice that SMTPAppenderBase uses Transport.send(), and no where does it use transport.connect(...) that accepts username and password.
Added support for plain user password authentication.
Furthermore, support for both STARTTLS and SSL connections were
added. Note that STARTTLS differs from SSL in that, in STARTTLS, the
connection is non-encrypted in the beginning and only after the STARTTLS
command is issued by the client (if the server supports it) does the
connection switch to SSL. In SSL mode, the connection is SSL from the
start.