mailer: fix crash
This commit is contained in:
+1
-1
@@ -1122,7 +1122,7 @@ async function sendTestMail(domain, to) {
|
||||
const result = await getDomain(domain);
|
||||
if (!result) throw new BoxError(BoxError.NOT_FOUND, 'mail domain not found');
|
||||
|
||||
await mailer.sendTestMail(result.domain);
|
||||
await mailer.sendTestMail(result.domain, to);
|
||||
}
|
||||
|
||||
async function listMailboxes(domain, search, page, perPage) {
|
||||
|
||||
Reference in New Issue
Block a user