diff --git a/supabase/functions/process-email-queue/index.ts b/supabase/functions/process-email-queue/index.ts index 80defa6..98780f9 100644 --- a/supabase/functions/process-email-queue/index.ts +++ b/supabase/functions/process-email-queue/index.ts @@ -5,11 +5,9 @@ import { sendViaHostingerMail, type HostingerMailConfig } from '../_shared/hosti // Which sender identity automated email is sent from. Must be an active row in // public.email_senders that the SMTP account is authorized to send as. Override // per-environment with the AUTOMATED_EMAIL_FROM secret. -// NOTE: no-reply@avriamail.com (Office365) is the sender with currently-valid -// SMTP credentials — it is the address that has actually been delivering mail. -// The Hostinger mail@avriacam.com mailbox rejects its stored password (SMTP 535) -// and must have its password re-entered in Email Settings before it can be used. -const DEFAULT_AUTOMATED_FROM = 'no-reply@avriamail.com' +// notifications@avriamail.com (Hostinger) is the single sender of record for all +// automated/transactional mail. The retired mail@avriacam.com mailbox was removed. +const DEFAULT_AUTOMATED_FROM = 'notifications@avriamail.com' // Load (and shape) the SMTP sender used for all queued automated email. async function loadAutomatedSender(