-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db6625a
commit 8998b70
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ public void sendVerificationEmail(String recipientEmail) { | |
String token = generateEmailVerificationToken(recipientEmail); | ||
|
||
String subject = "이메일 인증을 완료해주세요"; | ||
String verificationUrl = "http://localhost:8080/api/v1/auth/verify-email?token=" + token; | ||
String verificationUrl = "http://dev.chekirout.com/api/v1/auth/verify-email?token=" + token; | ||
String message = "아래 링크를 클릭하여 이메일 인증을 완료하세요: <a href='" + verificationUrl + "'>인증 링크</a>"; | ||
|
||
try { | ||
|
@@ -44,7 +44,7 @@ public void sendVerificationEmail(String recipientEmail) { | |
helper.setTo(recipientEmail); // 수신자 이메일 설정 | ||
helper.setSubject(subject); // 이메일 제목 설정 | ||
helper.setText(message, true); // HTML 형식으로 본문 설정 | ||
helper.setFrom("chekirout"); | ||
helper.setFrom("chekirout <[email protected]>"); | ||
|
||
mailSender.send(email); // 이메일 전송 | ||
} catch (Exception e) { | ||
|