@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
2 lines • 585 B
JavaScript
import e from"../../../services/email/send-external.mjs";import{runToolkitService as t}from"../utils.mjs";const n=async(n,r)=>t(()=>e(n,{to:r.to,subject:r.subject,template:r.template,cc:r.cc,bcc:r.bcc,replyTo:r.replyTo,priority:r.priority,attachments:r.attachments,data:r.data,storage:r.storage,tenantKey:r.tenantKey,from:r.from}),{name:{key:`core.toolkit.email.send.error.name`,defaultMessage:`Email Toolkit Error`},message:{key:`core.toolkit.email.send.error.message`,defaultMessage:`Lucid toolkit could not send the email.`}});export{n as default};
//# sourceMappingURL=send.mjs.map