edited mailer and changed orchestration

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-26 21:52:35 +02:00
parent 5191871681
commit 4291552b6d
14 changed files with 348 additions and 316 deletions
+13
View File
@@ -0,0 +1,13 @@
import { transporter } from "./transporter.js";
export async function sendMail({ to, subject, text, html }) {
const info = await transporter.sendMail({
from: '"Ausleihsystem" <noreply@mcs-medien.de>',
to,
subject,
text,
html,
});
console.log("Mail sent:", info.messageId);
return info;
}