템플릿없을시 에러처리 수정 , 회원가입시 보내는 이메일에 임시비밀번호추가
This commit is contained in:
parent
4aea2d9822
commit
930a500b26
@ -71,6 +71,12 @@ public class EmailUtil{
|
|||||||
Charset cs = StandardCharsets.UTF_8;
|
Charset cs = StandardCharsets.UTF_8;
|
||||||
List<String> list = new ArrayList<String>();
|
List<String> list = new ArrayList<String>();
|
||||||
String contents = "";
|
String contents = "";
|
||||||
|
|
||||||
|
if(!Files.exists(path))
|
||||||
|
{
|
||||||
|
return "templateFail";
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
list = Files.readAllLines(path,cs);
|
list = Files.readAllLines(path,cs);
|
||||||
}catch(IOException e) {
|
}catch(IOException e) {
|
||||||
|
|||||||
@ -23,8 +23,15 @@
|
|||||||
<span style="display: inline-block;float:left;width:20%;background: #f0f4f8;padding:15px 5%;font-weight:bold;">메일</span>
|
<span style="display: inline-block;float:left;width:20%;background: #f0f4f8;padding:15px 5%;font-weight:bold;">메일</span>
|
||||||
<span style="display: inline-block;float:left;width:60%;background: #fff;padding:15px 5%;">${email}</span>
|
<span style="display: inline-block;float:left;width:60%;background: #fff;padding:15px 5%;">${email}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="width:100%;border-bottom:1px solid #ddd;display: inline-block;vertical-align: top;">
|
||||||
|
<span style="display: inline-block;float:left;width:20%;background: #f0f4f8;padding:15px 5%;font-weight:bold;">임시 비밀번호</span>
|
||||||
|
<span style="display: inline-block;float:left;width:60%;background: #fff;padding:15px 5%;">${password}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="margin:5px 30px 60px;">
|
||||||
|
<p style="font-size:14px;">- 회원가입 시 임시 비밀번호가 발급됩니다. 보안을 위해 새로운 비밀번호로 변경해주세요.</p>
|
||||||
|
<p style="font-size:14px;">- 회원정보 및 비밀번호는 <span style="color:#d47b1c;font-weight: bold;">[마이페이지 > 회원정보관리 > 내정보]</span> 에서 확인 가능합니다.</p>
|
||||||
</div>
|
</div>
|
||||||
<p style="margin:5px 30px 60px; font-size:14px;">- 회원정보는 <span style="color:#d47b1c;font-weight: bold;">[마이페이지 > 회원정보관리 > 내 정보]</span> 에서 수정할 수 있습니다.</p>
|
|
||||||
<div style="margin:30px;">
|
<div style="margin:30px;">
|
||||||
<p style="font-size:15px;color:#333;letter-spacing: -1px;">${councilNm}에서 이용 가능한 온라인 회원증이 발급되었으며 [회원증] 메뉴를 통해 확인하실 수 있습니다.</p>
|
<p style="font-size:15px;color:#333;letter-spacing: -1px;">${councilNm}에서 이용 가능한 온라인 회원증이 발급되었으며 [회원증] 메뉴를 통해 확인하실 수 있습니다.</p>
|
||||||
<p style="font-size:15px;color:#333;letter-spacing: -1px;">지역의 문화를 엿볼 수 있는 소장자료관에서 많은 자료들을 둘러보시고 대출/열람 서비스를 이용해보세요.</p>
|
<p style="font-size:15px;color:#333;letter-spacing: -1px;">지역의 문화를 엿볼 수 있는 소장자료관에서 많은 자료들을 둘러보시고 대출/열람 서비스를 이용해보세요.</p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user