Files
smartmta/dist_ts/mail/delivery/smtpclient/create-client.d.ts

23 lines
789 B
TypeScript
Raw Normal View History

2026-02-10 15:54:09 +00:00
/**
* SMTP Client Factory
* Factory function for client creation and dependency injection
*/
import { SmtpClient } from './smtp-client.js';
import type { ISmtpClientOptions } from './interfaces.js';
/**
* Create a complete SMTP client with all components
*/
export declare function createSmtpClient(options: ISmtpClientOptions): SmtpClient;
/**
* Create SMTP client with connection pooling enabled
*/
export declare function createPooledSmtpClient(options: ISmtpClientOptions): SmtpClient;
/**
* Create SMTP client for high-volume sending
*/
export declare function createBulkSmtpClient(options: ISmtpClientOptions): SmtpClient;
/**
* Create SMTP client for transactional emails
*/
export declare function createTransactionalSmtpClient(options: ISmtpClientOptions): SmtpClient;