Skip to content

Conversation

@hknhj
Copy link
Contributor

@hknhj hknhj commented Jul 29, 2025

#️⃣연관된 이슈

#93

📝작업 내용

초대 메일 발송 기능 구현

🔎코드 설명(스크린샷(선택))

  • dto로 workspaceId, emails를 받아옴
  • 각 이메일마다 workspace invitation를 생성하여 저장하고, 초대 링크에 token을 쿼리스트링으로 추가해서 버튼을 누르면 해당 링크로 GET 요청이 보내져 초대 수락하도록 구현
  • SmtpEmailSender에서 오류가 발생하여 helper.setFrom(from) 추가

💬고민사항 및 리뷰 요구사항 (Optional)

X

비고 (Optional)

X

- dto로 받아온 workspaceId, emails를 토대로, 각 이메일마다 workspace invitation을 저장하고, 초대 링크에 token을 쿼리스트링으로 추가해서 하이퍼링크로 연결되도록 구현
@hknhj hknhj linked an issue Jul 29, 2025 that may be closed by this pull request
1 task
@hknhj hknhj self-assigned this Jul 29, 2025
@hknhj hknhj added the ✨ Feature 기능 개발 label Jul 29, 2025
Copy link
Member

@2ghrms 2ghrms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!!

sender.setUsername(username);
sender.setPassword(password);

Properties properties = sender.getJavaMailProperties();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 부분은 추가하지 않으면 동작하지 않나요??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네 테스트까지 해봤는데, 해당 코드가 존재하지 않으면 오류가 발생합니다!

@hknhj hknhj merged commit 9b502ab into dev Jul 30, 2025
1 check passed
@hknhj hknhj deleted the feat/#93-workspace-invite-mail-send-implement branch July 30, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: workspace 초대 메일 발송 API 구현

4 participants