chirag04 / mail-listener2

Mail listener library for node.js. Get notification when new email arrived.
MIT License
245 stars 116 forks source link

Missing autotls option #62

Open shroux opened 7 years ago

shroux commented 7 years ago

Hi,

What about the autotls : 'required'/'always'option, which is present in node-imap, but not in mail-listener2 ? Is there any way to handle it ?

Edit: Would it be wrong to add a simple handling for autotls in this library ? Manually adding autotls: 'required' works like a charm, so it shouldn't be harmful.