I'm trying to send a client identification to IMAP server using com.sun.mail.imap.IMAPSSLStore's id method. The problem is that it requires a Map<String, String>
as an argument, so the call
(.id store (HashMap. {"foo" "bar"}))
fails with IllegalArgumentException
.
What am I doing wrong?