The smtp appender now works with the current version of nodemailer
This commit is contained in:
@@ -24,7 +24,7 @@ function smtpAppender(config, layout) {
|
||||
function sendBuffer() {
|
||||
if (logEventBuffer.length > 0) {
|
||||
|
||||
var transport = mailer.createTransport(config.transport, config[config.transport]);
|
||||
var transport = mailer.createTransport(config.SMTP);
|
||||
var firstEvent = logEventBuffer[0];
|
||||
var body = "";
|
||||
while (logEventBuffer.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user