From 73307b0ada907f8ac857b3dfc4e7d50e3b7b92e9 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期一, 24 一月 2022 16:24:52 +0800
Subject: [PATCH] Merge branch 'Phase3' of https://dev.pollex.com.tw:8443/r/pcalife/PAM into Phase3

---
 pamapi/src/main/resources/config/application-dev.yml |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/pamapi/src/main/resources/config/application-dev.yml b/pamapi/src/main/resources/config/application-dev.yml
index ced80df..e612913 100644
--- a/pamapi/src/main/resources/config/application-dev.yml
+++ b/pamapi/src/main/resources/config/application-dev.yml
@@ -45,10 +45,16 @@
     # Remove 'faker' if you do not want the sample data to be loaded automatically
     contexts: dev, faker
   mail:
-    host: localhost
-    port: 25
-    username:
-    password:
+    host: smtp.gmail.com
+    port: 587
+    username: pollex.testing@gmail.com
+    password: ilismmmhtscppxft
+    properties:
+      mail:
+        smtp:
+          auth: true
+          starttls:
+            enable: true
   messages:
     cache-duration: PT1S # 1 second, see the ISO 8601 standard
   thymeleaf:
@@ -120,15 +126,17 @@
   e-service-login-func: ValidateUsrLogin
   e-service-login-sys: epos
   front-end-domain: http://localhost:3000
-  send-notify-msg: false
   sms:
+    send-notify-msg: false
     url: https://localhost:8081/testSMS
     source-code: ePos
     sender: POS
     sms-type: '0017'
     subject: '慦�像��'
   email:
+    send-notify-msg: false
     url: https://localhost:8081/testEmail
     function-id: epos
     sender-email: noreply@pcalife.com.tw
+    method: 'POLLEX_GMAIL'
   file-folder-path: C://pam_file

--
Gitblit v1.8.0