Class: Pop3Client

pop3.Pop3Client

Pop3Client is a minimal POP3 client for nuclei scripts.

Example

const pop3 = require('nuclei/pop3');
const client = new pop3.Client();

Table of contents

Constructors

Methods

Constructors

constructor

new Pop3Client(): Pop3Client

Returns

Pop3Client

Defined in

pop3.ts:15

Methods

IsPOP3

IsPOP3(host, port): IsPOP3Response

IsPOP3 checks if a host is running a POP3 server.

Parameters

NameType
hoststring
portnumber

Returns

IsPOP3Response

Example

const pop3 = require('nuclei/pop3');
const isPOP3 = pop3.IsPOP3('acme.com', 110);
log(toJSON(isPOP3));

Defined in

pop3.ts:25