Skip to content
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

이메일 템플릿 하드코딩 개선 및 외부 관리로 전환 #559

Closed
1 task done
limehee opened this issue Sep 18, 2024 · 0 comments · Fixed by #580
Closed
1 task done

이메일 템플릿 하드코딩 개선 및 외부 관리로 전환 #559

limehee opened this issue Sep 18, 2024 · 0 comments · Fixed by #580
Assignees
Labels
🔨 Refactor 코드 수정 및 개선

Comments

@limehee
Copy link
Collaborator

limehee commented Sep 18, 2024

Describe

현재 이메일 전송 로직에서 이메일 템플릿의 제목과 본문 내용이 하드코딩된 상태로 작성되어 있습니다.

이러한 방식으로 인해 템플릿 내용이 변경될 경우 코드 수정이 잇따라 발생하고 있으며, 템플릿은 사용자와의 직접적인 소통 수단으로, 변경 가능성이 높기에 개선이 필요하다 여겨집니다.

따라서, 이러한 이메일 템플릿 내용을 YAML 파일 또는 데이터베이스와 같은 외부 설정 파일로 관리하여, 템플릿 변경 시 개발자가 코드 수정 없이도 즉시 반영될 수 있도록 개선하고자 합니다.

Tasks

  • 이메일 템플릿 관리 방안 변경
    • 현재 하드코딩되어 있는 이메일 제목과 본문을 YAML 파일 또는 데이터베이스로 관리할 수 있도록 변경.
    • 템플릿에서 사용하는 변수(title, name, content 등)를 그대로 유지하면서, 템플릿 구조만 외부로 분리.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 Refactor 코드 수정 및 개선
Projects
None yet
1 participant