Skip to content

Commit bf9c4b4

Browse files
committed
actually use ALERT_REPLY_TO_EMAIL for alerts (non-breaking)
1 parent dae1b6d commit bf9c4b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/webapp/app/services/email.server.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ const alertsClient = singleton(
2727
transport: buildTransportOptions(true),
2828
imagesBaseUrl: env.APP_ORIGIN,
2929
from: env.ALERT_FROM_EMAIL ?? "noreply@alerts.trigger.dev",
30-
replyTo: env.REPLY_TO_EMAIL ?? "help@email.trigger.dev",
30+
// Fallback to `REPLY_TO_EMAIL` for backwards compat
31+
replyTo: env.ALERT_REPLY_TO_EMAIL ?? env.REPLY_TO_EMAIL ?? "help@email.trigger.dev",
3132
})
3233
);
3334

0 commit comments

Comments
 (0)