Skip to content

Commit dd5fc48

Browse files
committed
Set smtp connection secure
1 parent f43e9c8 commit dd5fc48

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/payload.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,14 @@ export default buildConfig({
7171
defaultFromName: 'Vector: Interior Design',
7272
transportOptions: {
7373
host: process.env.SMTP_HOST,
74-
port: 587,
74+
port: 465,
75+
secure: true,
7576
auth: {
7677
user: process.env.EMAIL_USER,
7778
pass: EMAIL_PASSWORD,
7879
},
80+
debug: true,
81+
logger: true,
7982
},
8083
}),
8184
localization: {

0 commit comments

Comments
 (0)