Commit graph

2 commits

Author SHA1 Message Date
efb7dc43b7 feat: Update SMTP transport to use API key for authentication and improve error handling 2025-08-19 01:57:21 +07:00
d059b80682 feat: Implement SMTP over WebSocket client with error handling and Nodemailer transport
- Added error classes for various SMTP-related issues (ConnectionError, AuthenticationError, etc.) in `errors.ts`.
- Created main entry point for the SMTP over WebSocket client library in `index.ts`, exporting client, types, errors, and transport.
- Developed Nodemailer transport adapter for SMTP over WebSocket in `transport.ts`, including methods for sending mail and verifying transport configuration.
- Defined type definitions for the SMTP over WebSocket protocol in `types.ts`, including message types, connection states, and client configuration options.
2025-08-19 00:52:18 +07:00