[dyad] wrote 1 file(s)

This commit is contained in:
[dyad] 2025-09-10 14:18:27 +02:00
parent e44629d411
commit 9f2443c96a

View file

@ -31,8 +31,8 @@ onRecordAfterCreateSuccess((e) => {
const dateBookedOut = new Date(record.get("date_booked_out")).toLocaleString(); const dateBookedOut = new Date(record.get("date_booked_out")).toLocaleString();
// Define the recipient email (e.g., an admin email or the customer's email if available) // Define the recipient email (e.g., an admin email or the customer's email if available)
// IMPORTANT: Replace 'admin@example.com' with your actual admin email or a dynamic customer email // IMPORTANT: Replace 'your-admin-email@example.com' with your actual admin email or a dynamic customer email
const recipientEmail = 'david@wfsales.co.za'; const recipientEmail = 'your-admin-email@example.com';
const message = new MailerMessage({ const message = new MailerMessage({
from: { from: {