MateMalice / mail-listener2

Mail listener library for node.js. Get notification when new email arrived.
Other
9 stars 7 forks source link

Add ability to use autotls option #39

Closed MorphedAU closed 1 year ago

MorphedAU commented 1 year ago

Adds the ability to use node-imap's autotls option which is useful for servers that require starttls.

From the node-imap package documentation:

autotls - string - Set to 'always' to always attempt connection upgrades via STARTTLS, 'required' only if upgrading is required, or 'never' to never attempt upgrading. Default: 'never'

MateMalice commented 1 year ago

Thanks for the suggestion - I agree that STARTTLS support is a useful feature. I've merged the request and will publish a patched version of the package.