Enabling SMTP authentication PLAIN mechanism for web2py
Some SMTP servers needs clients to configuration for authentication mechanism. Their is no way to configure this mechanism in web2py.
In order to enable this mechanism changes are required in /usr/lib64/python2.7/smtplib.py
just modify the preferred_auths list according to your preferred settings.
In my case