Fix Resend email sender address

- from 필드를 onboarding@resend.dev로 변경 (Resend 기본 도메인)
- reply_to 필드 추가 (문의자 이메일로 답장 가능)
- 커스텀 도메인 인증 없이 바로 사용 가능

테스트 완료: 이메일 발송 정상 작동 확인

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-10 02:16:03 +09:00
parent e05def83d6
commit 8255ecab0c

View File

@@ -18,8 +18,9 @@ export async function POST(request: Request) {
// 이메일 발송
const data = await resend.emails.send({
from: 'contact@jaengseung-made.com', // Resend에서 인증된 도메인
from: 'onboarding@resend.dev', // Resend 기본 도메인
to: ['bgg8988@gmail.com'], // 받는 이메일
reply_to: email, // 문의자 이메일로 답장 가능
subject: `[쟁승메이드] 새로운 문의: ${service || '문의'}`,
html: `
<h2>새로운 프로젝트 문의가 도착했습니다</h2>