Improve comments about new email hook

Improve comment docs about newly accessible email hook. I believe this will fix the issue with docs generation.
This commit is contained in:
Jan Dvorak
2020-08-29 10:08:15 +02:00
parent 77600e6fb5
commit 4d3830fcf4

View File

@@ -99,8 +99,10 @@ var smtpSend = function (transport, mail) {
};
var sendHooks = [];
/**
* Hook that runs before email is sent.
* @summary Hook that runs before email is sent.
* @locus Server
*
* @param f {function} receives the arguments to Email.send and should return true to go
* ahead and send the email (or at least, try subsequent hooks), or