Skip to content

Commit

Permalink
rever to 163 mail (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanmomo committed May 16, 2024
1 parent bdb08bb commit 2e24103
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ spring:
order_inserts: true
order_updates: true
mail:
host: ${SMTP_SERVER:smtp.gmail.com}
port: ${SMTP_SERVER_PORT:587}
host: ${SMTP_SERVER:smtp.163.com}
port: ${SMTP_SERVER_PORT:465}
username: ${MAIL_ADDRESS}
password: ${MAIL_PASSWORD}
properties:
mail:
smtp:
auth: true
ssl:
enable: true
starttls:
enable: true
session:
Expand Down

0 comments on commit 2e24103

Please sign in to comment.