Files
EMLy/frontend/src/lib/utils/mail/index.ts
Flavio Fois 54a3dff1c2 Add TNEF handling and email loading improvements
- Implement TNEF extraction and recursive parsing in new `tnef_reader.go` and associated tests.
- Create tests for TNEF extraction scenarios in `tnef_diag_test.go`, `tnef_diag7_test.go`, and `tnef_diag8_test.go`.
2026-02-14 09:03:41 +01:00

41 lines
695 B
TypeScript

/**
* Mail utilities barrel export
*/
// Constants
export {
IFRAME_UTIL_HTML,
IFRAME_UTIL_HTML_DARK,
IFRAME_UTIL_HTML_LIGHT,
EMAIL_EXTENSIONS,
CONTENT_TYPES,
PEC_FILES,
} from './constants';
// Data utilities
export {
arrayBufferToBase64,
createDataUrl,
looksLikeBase64,
tryDecodeBase64,
} from './data-utils';
// Attachment handlers
export {
openPDFAttachment,
openImageAttachment,
openEMLAttachment,
type AttachmentHandlerResult,
} from './attachment-handlers';
// Email loader
export {
getEmailFileType,
isEmailFile,
loadEmailFromPath,
loadEmailFromPathLegacy,
openAndLoadEmail,
processEmailBody,
type LoadEmailResult,
} from './email-loader';