Skip to content

Commit

Permalink
[Hotfix] image upload & email setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong committed Oct 20, 2024
1 parent 3c26172 commit 307441d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void sendMail(String email, String type) {
try {
MimeMessageHelper mimeMessageHelper = new MimeMessageHelper(mimeMessage, false, "UTF-8");
mimeMessageHelper.setTo(email); // 메일 수신자
mimeMessageHelper.setFrom(new InternetAddress("teamwagglewaggle@gmail.com", "Waggle"));
mimeMessageHelper.setFrom(new InternetAddress("wjdgks1233@gmail.com", "Waggle"));
mimeMessageHelper.setSubject("[와글] 회원가입을 위해 메일을 인증해 주세요."); // 메일 제목
mimeMessageHelper.setText(setContext(authNum, type), true); // 메일 본문 내용, HTML 여부
javaMailSender.send(mimeMessage);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ cloud:
access-key: ${S3_ACCESS_KEY}
secret-key: ${S3_SECRET_KEY}
s3:
bucket: waggle-prod-s3
bucket: waggle-bucket
region:
static: ap-northeast-2
stack:
Expand Down

0 comments on commit 307441d

Please sign in to comment.