fix(mail): migrate filesystem helpers to fsUtils, update DKIM and mail APIs, harden SMTP client, and bump dependencies

This commit is contained in:
2026-02-01 14:17:54 +00:00
parent dd4ac9fa3d
commit d54831765b
38 changed files with 3923 additions and 5335 deletions

View File

@@ -158,7 +158,9 @@ tap.test('Email and Smartmail compatibility - should convert between formats', a
// Add recipient and attachment
smartmail.addRecipient('recipient@example.com');
const attachment = await plugins.smartfile.SmartFile.fromString(
// Use SmartFileFactory for creating SmartFile instances (smartfile v13+)
const smartFileFactory = plugins.smartfile.SmartFileFactory.nodeFs();
const attachment = smartFileFactory.fromString(
'test.txt',
'This is a test attachment',
'utf8',