Skip to content

Commit 4659916

Browse files
feat(mailer): support file attachments in sendMail()
Add optional `attachments` array to sendMail(), forwarded to both Resend (base64-encoded content) and Nodemailer (pass-through). Needed for emailNotif post-run emails in downstream projects. Closes #3374
1 parent c8bd3a0 commit 4659916

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/helpers/mailer/tests/mailer.unit.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe('mailer index with resend provider unit tests:', () => {
9393
);
9494
});
9595

96-
test('should return null on send error', async () => {
96+
test('should return null on send error', async () => {
9797
mockSend.mockRejectedValue(new Error('API failure'));
9898

9999
const result = await mailer.sendMail({

0 commit comments

Comments
 (0)