Password Policy/App rename/PM Scheduling Improvements
This commit is contained in:
@@ -107,9 +107,9 @@ async function sendMail({ to, subject, html, text }) {
|
||||
async function sendTestEmail(to, userId) {
|
||||
const info = await sendMail({
|
||||
to: to ? [to] : null,
|
||||
subject: 'MixedAssets test email',
|
||||
html: '<p>Your MixedAssets SMTP settings are working. This is a test message.</p>',
|
||||
text: 'Your MixedAssets SMTP settings are working. This is a test message.'
|
||||
subject: 'DepreCore test email',
|
||||
html: '<p>Your DepreCore SMTP settings are working. This is a test message.</p>',
|
||||
text: 'Your DepreCore SMTP settings are working. This is a test message.'
|
||||
});
|
||||
audit(userId, 'send', 'test_email', null, null, { to });
|
||||
return { messageId: info.messageId, accepted: info.accepted };
|
||||
|
||||
Reference in New Issue
Block a user