fix: add test mail
This commit is contained in:
parent
927d13ad99
commit
a9866121e4
@ -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