owainlewis / clojure-mail

A Clojure library for parsing, downloading and reading email from IMAP servers.
202 stars 54 forks source link

Allow connecting to non-standard ports #33

Open c-garcia opened 8 years ago

c-garcia commented 8 years ago

Hi,

It would be useful to be able to specify the server port when creating the store. As a nice byproduct, this will make possible to create integration tests with Greenmail.

How to maintain the store function as backwards compatible is another story. Having it as multi-arity makes this a small challenge. As a suggestion, to specify the port, the server parameter could be passed as a vector [host port]. If passed as a String, the default ones would be used.

Thanks and regards.

shisoft commented 8 years ago

I am also wondering if there is any way to use other port number since there is already a parameter for protocol.

c-garcia commented 8 years ago

Closed despite of this is not released to clojars. I don't know how you want to handle this. If I need to re-open, just let me know please.

owainlewis commented 8 years ago

TODO: New release