15 lines
596 B
TypeScript
15 lines
596 B
TypeScript
|
|
/**
|
||
|
|
* SMTP Server Creation Factory
|
||
|
|
* Provides a simple way to create a complete SMTP server
|
||
|
|
*/
|
||
|
|
import { SmtpServer } from './smtp-server.js';
|
||
|
|
import type { ISmtpServerOptions } from './interfaces.js';
|
||
|
|
import { UnifiedEmailServer } from '../../routing/classes.unified.email.server.js';
|
||
|
|
/**
|
||
|
|
* Create a complete SMTP server with all components
|
||
|
|
* @param emailServer - Email server reference
|
||
|
|
* @param options - SMTP server options
|
||
|
|
* @returns Configured SMTP server instance
|
||
|
|
*/
|
||
|
|
export declare function createSmtpServer(emailServer: UnifiedEmailServer, options: ISmtpServerOptions): SmtpServer;
|