On 16.12.2011 11:04, kalgon wrote:

Hi,

is it possible to define what protocol (mail.transport.protocol) to use with
SMTPAppender other than through System properties which are global? Logging
important info which must be sent by mail must be part of my tests and for
that purpose, I've made a MockTransport that I would like to use.

Thanks,

Xavier

SMTPAppenderBase does not take into account mail.transport.protocol.
However, you could modify it to fit your requirements.  I suggest
forking and sending a pull request.

Cheers,
--
Ceki
http://twitter.com/#!/ceki
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to