diff --git a/src/main/java/nlib/util/EmailUtil.java b/src/main/java/nlib/util/EmailUtil.java index 1c5b5833..16ce996e 100644 --- a/src/main/java/nlib/util/EmailUtil.java +++ b/src/main/java/nlib/util/EmailUtil.java @@ -71,6 +71,12 @@ public class EmailUtil{ Charset cs = StandardCharsets.UTF_8; List list = new ArrayList(); String contents = ""; + + if(!Files.exists(path)) + { + return "templateFail"; + } + try { list = Files.readAllLines(path,cs); }catch(IOException e) { diff --git a/src/main/webapp/WEB-INF/template/mail/signUp_mail_template.html b/src/main/webapp/WEB-INF/template/mail/signUp_mail_template.html index 526481c3..567ae7b8 100644 --- a/src/main/webapp/WEB-INF/template/mail/signUp_mail_template.html +++ b/src/main/webapp/WEB-INF/template/mail/signUp_mail_template.html @@ -23,8 +23,15 @@ 메일 ${email} +
+ 임시 비밀번호 + ${password} +
+ +
+

- 회원가입 시 임시 비밀번호가 발급됩니다. 보안을 위해 새로운 비밀번호로 변경해주세요.

+

- 회원정보 및 비밀번호는 [마이페이지 > 회원정보관리 > 내정보] 에서 확인 가능합니다.

-

- 회원정보는 [마이페이지 > 회원정보관리 > 내 정보] 에서 수정할 수 있습니다.

${councilNm}에서 이용 가능한 온라인 회원증이 발급되었으며 [회원증] 메뉴를 통해 확인하실 수 있습니다.

지역의 문화를 엿볼 수 있는 소장자료관에서 많은 자료들을 둘러보시고 대출/열람 서비스를 이용해보세요.