@dinahmoe/dmafjs-mailer
v23.0.0
Published
DMAFJS component for sending emails via AWS Lambda/SES. Supports email templates, multiple recipients (including CC), and works in both browser and Node.js environments following the DMAFJS component-environment pattern.
Readme
@dinahmoe/dmafjs-mailer
DMAFJS component for sending emails via AWS Lambda/SES. Supports email templates, multiple recipients (including CC), and works in both browser and Node.js environments following the DMAFJS component-environment pattern.
Installation
npm install @dinahmoe/dmafjs-mailerQuick Start
import { mailer } from "@dinahmoe/dmafjs-mailer";
// Send an email via the mailer component
mailer.send(node, {
subject: "Hello",
message: "Email body content",
senderEmail: "[email protected]",
recipientEmail: "[email protected]",
replyToEmail: "[email protected]",
ccEmails: ["[email protected]"],
templateUrl: "https://example.com/template",
templateData: { name: "John" }
});Documentation
For detailed concepts and architecture, see the wiki.
Related Packages
- dmafjs-core - Core framework, entity lifecycle, events, bridge communication
- dmafjs-javascript - JavaScript engine for environment execution
