Tansition to amazon SES email.

This commit is contained in:
Patrick Fic
2021-04-25 11:43:07 -07:00
parent 4519f59987
commit f33715b83c
4 changed files with 194 additions and 62 deletions

View File

@@ -71,7 +71,10 @@ export function EmailOverlayContainer({
...defaultEmailFrom,
...values,
html: rawHtml,
attachments,
attachments: await Promise.all(
values.fileList.map(async (f) => await toBase64(f.originFileObj))
),
//attachments,
});
notification["success"]({ message: t("emails.successes.sent") });
toggleEmailOverlayVisible();