Skip to content

Loading…

Confusion in docs #4

Closed
AVBelyy opened this Issue · 0 comments

2 participants

@AVBelyy

README.md says that to initialize POP3Client class we need to pass true as tls' value, like this:

client = new POP3Client(port, host, true);

But when I tried this, nothing happened. Then I looked through the source code and realized that it should be written that way:

client = new POP3Client(port, host, {enabletls: true});

I guess you need to say in README.md that tls is actually options and tell more about available parameters.

@ditesh ditesh added a commit that closed this issue
@ditesh Fixes #4 2818877
@ditesh ditesh closed this in 2818877
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.