09fc0ece61
The new imaplib2 version >= 3.06 includes a function "version()", and this patch uses the old style __version__ value and the new function. This patch is related to issue #37, issue 2.