[IronPython] POP3_SSL issue

Michael Foord fuzzyman at voidspace.org.uk
Wed Apr 16 21:03:17 CEST 2008


Kar, Sujit wrote:
> Hello,
>
> I am trying to access gmail via the POP3_SSL standard python library. Ironpython is installed & so is Python2.5 and site.py has the necessay path information. OS is Vista
>
> When I try to execute the following code in IronPython:
>
>    mbox = poplib.POP3_SSL("pop.gmail.com")
>
> I get an error message saying:
>    AttributeError: 'module' object has no attribute 'ssl'
>
>   

What is the line of Python code associated with that error (it should be 
in the full traceback). I suspect that will give you a clue. :-)

The answer is probably that Python uses a c extension module for ssl 
support.

Michael Foord
http://www.ironpythoninaction.com/

> If I use the python console installed with Python2.5, everything works just fine.
>
> Any ideas?
>
> I just started using python/ironpython, so please excuse any newbie mistakes.
>
> Thanks,
> Sujit
> -=-
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>   




More information about the Ironpython-users mailing list