On Wednesday, June 7, 2017 at 9:52:02 AM UTC-4, [email protected] wrote: > > I have finally solved my email sending problem on port 587 with APACHE > 2.4, > > It was due to the fact that the > > > *Web2py 2.14.6, Apache 2.4.23 and my Python 2.7.10 are just incompatible > when dealing to starttls() or import ssl.Any version Python version above > 2.7.9 does not work.* > I have reinstalled Python 2.7.9 which is actually the native python > version of the Web2py 2.14.6 and the mail.send() function is working again. >
As noted here <https://groups.google.com/d/msg/web2py/MA0qs7DTez0/eYP9BmwGAwAJ>, the discrepancy was due to your running two different Python interpreters (web2py binary vs. your system installed Python). There is no "native Python version" of web2py 2.14.6 (the web2py Windows binary includes a particular version of Python, but web2py source runs on any 2.x version starting with 2.6). > > There might be a workaround to use Python version above 2.7.9 with Apache > 2.4, but I leave that to the developers. > I don't think there should be any difference between 2.7.9 and 2.7.10. Probably when you did a fresh install of 2.7.9, you simply got the SSL module included (likely the same would happen with a fresh install of 2.7.10). Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

