Confusion in docs #4

AVBelyy opened this Issue Sep 28, 2012 · 0 comments


None yet
2 participants

AVBelyy commented Sep 28, 2012 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 that tls is actually options and tell more about available parameters.

@ditesh ditesh closed this in 2818877 Feb 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment