Skip to content

[COT-264] Feature: 메일 전송 API 구현 #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
May 15, 2025

Conversation

gikhoon
Copy link
Member

@gikhoon gikhoon commented May 1, 2025

주의

아직 테스트 코드 작성 미완성
HTML 변경 가능

Motivation

메일 전송 시 Aws Ses로 메일 전송 + 로그 작성

Modification

메일 전송 시 NOT_SENT 또는 Failed 상태의 요청들에게 전송
전솓된 메일은 상태 저장
전송 로그 저장

Result

https://youthing.atlassian.net/browse/COT-264

Test (option)

SQL

@gikhoon gikhoon added the do not merge 의존성이나 여타 이유로 당장 머지하면 안되는 PR label May 1, 2025
@gikhoon gikhoon added this to the 모집 이메일 전송 milestone May 1, 2025
@gikhoon gikhoon self-assigned this May 1, 2025
@gikhoon gikhoon requested a review from Youthhing May 1, 2025 07:24
@gikhoon
Copy link
Member Author

gikhoon commented May 1, 2025

아직 테스트 코드 작성 미완성과 HTML 문구 미완성

refactor할 거 많을 것 같아서 미리 올리고 리뷰 받으면서 수정하겠습니다

@Youthhing
Copy link
Member

테스트코드 작성해주시고 리팩토링 더 할거 남았나요?

@gikhoon gikhoon removed the do not merge 의존성이나 여타 이유로 당장 머지하면 안되는 PR label May 14, 2025
@gikhoon
Copy link
Member Author

gikhoon commented May 14, 2025

202d5c9

코드 작성 완료했고 더 수정할 부분 없습니다

Copy link
Member

@Youthhing Youthhing left a comment

Choose a reason for hiding this comment

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

고생하셨습니다~

@gikhoon gikhoon merged commit 6a594ab into develop May 15, 2025
1 check passed
@gikhoon gikhoon deleted the feature/COT-264-send-recruitment-notification branch May 17, 2025 03:15
gikhoon added a commit that referenced this pull request May 17, 2025
* build: ses 빌드 파일 작성

* feat: SesConfig 작성

* feat: raw html으로 Ses 메일 전송 로직 구현

* feat: 비동기 메일 전송 로직 구현

* feat: 비동기 시 결과를 결과 반환하게 변경

* feat: 메일 전송 서비스 로직 구현

* refactor: Batch size에 맞게 나눠서 저장하게 수정

* feat: 메일 제목+html바디 return하는 로직 구현

* feat: 모집 알림 메일 html 수정

* refactor: Ses 메일 전송 컨포넌트명 변경

* chore: 메일 전송 주소 QA, Main 다르게 설정할 수 있게 yaml파일 변경

* refactor: 메일 전송 비동기처리 설정 변경

* feat: 모집 알림 메일 홈페이지 링크 색 수정

* feat: 모집 알림 메일 포매팅 수정

* refactor: 메일 전송 링크 환경변수로 주입받게 변경

* refactor: 모집 알람 메일 html 받는 메소드명 변경

* feat: 레파지토리 트랜잭션 어노테이션 추가

* feat: 로그 저장 메소드 트랜잭션 어노테이션 추가

* refactor: 메일 전송시 emailContent를 통으로 보내게 변경

* refactor: 람다식 변수명 풀어서 작성

* refactor: RecruitmentNotificationRequester map 변수명 변경

* refactor: RecruitmentNotificationRequester map 변수명 변경

* refactor: run-async, exceptionally로 메일 전송 로직 수정

* chore: base-url 공통 yml로 이동

* chore: ses email 주소 공통 yml로 이동

* feat: 홈페이지 주소 DI 주입으로 변경

* refactor: AWS 관련 환경변수 Bean으로 등록하게 변경

* refactor: 전송 메일 주소를 받을 때 AwsProperties를 통해 받도록 변경

* refactor: aws region 환경변수명 변경

* chore: SES 이메일 주소 CI/CD 스크립트 설정

* chore: 홈페이지 주소 CI/CD 스크립트 설정

* refactor: Map 변수명 변경

* chore: ses 이메일 주소 CI/CD 스크립트 secret 변수명 변경

* style: AwsProperties 주석 제거

* test: 메일 전송 테스트 코드 작성

(cherry picked from commit 6a594ab)
Youthhing pushed a commit that referenced this pull request May 17, 2025
* build: ses 빌드 파일 작성

* feat: SesConfig 작성

* feat: raw html으로 Ses 메일 전송 로직 구현

* feat: 비동기 메일 전송 로직 구현

* feat: 비동기 시 결과를 결과 반환하게 변경

* feat: 메일 전송 서비스 로직 구현

* refactor: Batch size에 맞게 나눠서 저장하게 수정

* feat: 메일 제목+html바디 return하는 로직 구현

* feat: 모집 알림 메일 html 수정

* refactor: Ses 메일 전송 컨포넌트명 변경

* chore: 메일 전송 주소 QA, Main 다르게 설정할 수 있게 yaml파일 변경

* refactor: 메일 전송 비동기처리 설정 변경

* feat: 모집 알림 메일 홈페이지 링크 색 수정

* feat: 모집 알림 메일 포매팅 수정

* refactor: 메일 전송 링크 환경변수로 주입받게 변경

* refactor: 모집 알람 메일 html 받는 메소드명 변경

* feat: 레파지토리 트랜잭션 어노테이션 추가

* feat: 로그 저장 메소드 트랜잭션 어노테이션 추가

* refactor: 메일 전송시 emailContent를 통으로 보내게 변경

* refactor: 람다식 변수명 풀어서 작성

* refactor: RecruitmentNotificationRequester map 변수명 변경

* refactor: RecruitmentNotificationRequester map 변수명 변경

* refactor: run-async, exceptionally로 메일 전송 로직 수정

* chore: base-url 공통 yml로 이동

* chore: ses email 주소 공통 yml로 이동

* feat: 홈페이지 주소 DI 주입으로 변경

* refactor: AWS 관련 환경변수 Bean으로 등록하게 변경

* refactor: 전송 메일 주소를 받을 때 AwsProperties를 통해 받도록 변경

* refactor: aws region 환경변수명 변경

* chore: SES 이메일 주소 CI/CD 스크립트 설정

* chore: 홈페이지 주소 CI/CD 스크립트 설정

* refactor: Map 변수명 변경

* chore: ses 이메일 주소 CI/CD 스크립트 secret 변수명 변경

* style: AwsProperties 주석 제거

* test: 메일 전송 테스트 코드 작성

(cherry picked from commit 6a594ab)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants