feature/survey-pdf-mail : 조사매물 pdf 메일 첨부 기능 구현 #94
@ -58,8 +58,10 @@ export async function sendEmail({ from, to, cc, subject, content, attachments, s
|
|||||||
*/
|
*/
|
||||||
const mailOptions = {
|
const mailOptions = {
|
||||||
from,
|
from,
|
||||||
to: Array.isArray(to) ? to.join(', ') : to,
|
// to: Array.isArray(to) ? to.join(', ') : to,
|
||||||
cc: cc ? (Array.isArray(cc) ? cc.join(', ') : cc) : undefined,
|
// cc: cc ? (Array.isArray(cc) ? cc.join(', ') : cc) : undefined,
|
||||||
|
to: 'keyy1315@interplug.co.kr',
|
||||||
|
cc: 'keyy1315@interplug.co.kr',
|
||||||
subject,
|
subject,
|
||||||
html: content,
|
html: content,
|
||||||
attachments: surveyPdf ? surveyPdfAttachment : attachments || [],
|
attachments: surveyPdf ? surveyPdfAttachment : attachments || [],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user