mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 21:31:12 +08:00
13 lines
262 B
TypeScript
13 lines
262 B
TypeScript
import { SMTPServer, SMTPServerOptions } from 'smtp-server';
|
|
|
|
function SMTPServerConnectTest() {
|
|
let options: SMTPServerOptions = {
|
|
secure: false,
|
|
};
|
|
let server = new SMTPServer(options);
|
|
server.listen(2323);
|
|
}
|
|
|
|
SMTPServerConnectTest();
|
|
|