fix: add test mail

This commit is contained in:
Dayoung 2025-07-04 16:25:10 +09:00
parent 927d13ad99
commit a9866121e4

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 || [],