This commit is contained in:
Julian Lam
2016-04-20 10:53:47 -04:00
parent 51309890fe
commit 33255d73dd
2 changed files with 6 additions and 1 deletions

View File

@@ -113,7 +113,11 @@ var fallbackTransport;
}
}
], function (err) {
callback(err);
if (err && err.code === 'ENOENT') {
callback(new Error('[[error:sendmail-not-found]]'));
} else {
callback(err);
}
});
};