Skip to content

Commit 98946c2

Browse files
committed
Correct environment variable usage for SMTP email transport
Signed-off-by: Erin Allison <[email protected]>
1 parent 4dcd770 commit 98946c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function buildTransportOptions(alerts?: boolean): MailTransportOptions {
5151
config: {
5252
host: alerts ? env.ALERT_SMTP_HOST : env.SMTP_HOST,
5353
port: alerts ? env.ALERT_SMTP_PORT : env.SMTP_PORT,
54-
secure: alerts ? env.ALERT_SMTP_SECURE : env.ALERT_SMTP_SECURE,
54+
secure: alerts ? env.ALERT_SMTP_SECURE : env.SMTP_SECURE,
5555
auth: {
5656
user: alerts ? env.ALERT_SMTP_USER : env.SMTP_USER,
5757
pass: alerts ? env.ALERT_SMTP_PASSWORD : env.SMTP_PASSWORD

0 commit comments

Comments
 (0)