
I don't know about either library, but from what I read about pop3s
protocol it might be feasible to hack on pop3-client library to make it
work with pop3s protocol. This way you would retain the nice API and gain
security.
The other option, i.e. using curlhs, may easier still. I just wanted you to
consider extending the pop3-client library.
Best regards,
Krzysztof Skrzętnicki
On Sat, Sep 1, 2012 at 12:57 PM, Franco
Hello everyone,
I am trying to write a simple script in Haskell. Such script is meant to:
- contact my email (pop3) - ask the server wheter there are new messages - report the result back to me
This was trivial to write, using the "pop3-client" library, but I soon realized the whole thing is pretty unsecure. User and password are sent in plain text and I would like to encrypt those.
So I asked Hayoo: it seems there is only one package which supports pop3s, curlhs; still, I didn't manage to get it. So I am asking you:
- do you know wheter curlhs is fit for my goal? pop3-client had a nice 'getNumberOfMessages' function. I don't see anything similar in there - do you have examples of querying mail via curl? I found very few of those
Thanks in advance. I should mention this thing was meant to be fed to xmobar, to check at intervals of, say, 15 minutes, wheter I got new mail without having a mail client always open
-Franco
-- Franco
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners