feature/survey-pdf-mail : 조사매물 pdf 메일 첨부 기능 구현 #94

Merged
seul merged 6 commits from feature/survey-pdf-mail into dev 2025-07-04 17:00:07 +09:00
Showing only changes of commit a9866121e4 - Show all commits

View File

@ -58,8 +58,10 @@ export async function sendEmail({ from, to, cc, subject, content, attachments, s
*/
const mailOptions = {
from,
to: Array.isArray(to) ? to.join(', ') : to,
cc: cc ? (Array.isArray(cc) ? cc.join(', ') : cc) : undefined,
// to: Array.isArray(to) ? to.join(', ') : to,
// cc: cc ? (Array.isArray(cc) ? cc.join(', ') : cc) : undefined,
to: 'keyy1315@interplug.co.kr',
cc: 'keyy1315@interplug.co.kr',
subject,
html: content,
attachments: surveyPdf ? surveyPdfAttachment : attachments || [],