Methods
IsPOP3(host, port) → {IsPOP3Response}
IsPOP3 checks if a host is running a POP3 server
Parameters:
Name | Type | Description |
---|---|---|
host | string | The host to check. |
port | number | The port to check. |
- Source
Throws:
- - The error encountered during the check.
- Type
- error
Returns:
- The response of the check.
- Type:
- IsPOP3Response
Example
let m = require('nuclei/pop3');
let c = m.Pop3Client();
let response = c.IsPOP3('localhost', 110);