Due to the UCE aka Spam pest, more and more smtp servers get protected by login/password. It would be great if the SMTPAppender could also send out mails via such smtp servers!
see also Bug 25355 for link confidentiality for such outgoing mails
Created attachment 14831 [details] Patch file to add AUTH support to the email appender Add the following to your appender config to allow SMTP server authentication: <param name="SMTPUsername" value="username"/> <param name="SMTPPassword" value="password"/> If either the username or password are missing the appender will behave as before.
Created attachment 14843 [details] Improved AUTH patch Improved the patch to include an SMTPDebug option (this enables mail session debugging). Add the following to your appender config to allow SMTP server authentication: <param name="SMTPUsername" value="username"/> <param name="SMTPPassword" value="password"/> <param name="SMTPDebug" value="true"/> If either the username or password are missing the appender will behave as before.
Modified patch committed in rev 439024 (1.2) and 430925 (trunk). Added extension point createSession() if you want to do other types of authentication in extended classes.