Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTP login fails when using TLS #1

Closed
eLBati opened this issue Sep 20, 2011 · 2 comments
Closed

SMTP login fails when using TLS #1

eLBati opened this issue Sep 20, 2011 · 2 comments

Comments

@eLBati
Copy link
Contributor

eLBati commented Sep 20, 2011

Steps:

Create a new account and set "Use TLS" only.
Click con "Check Outgoing Connection"
Exception is raised: "character mapping must return integer, None or unicode"

This is actually raised by smtplib and I solved replacing line 258 of poweremail_core.py with
serv.login(str(this_object.smtpuname), str(this_object.smtppass))

@sharoonthomas
Copy link

Hi

I have fixed this issue in the dev branch, can you confirm if the fix works for you ?

Remember that this is not the main branch

git clone git://github.com/openlabs/poweremail.git
git checkout dev

@eLBati
Copy link
Contributor Author

eLBati commented Sep 22, 2011

Hello sharoon,
it works for me.

(In order to install the module from dev branch, I had to replace line 33 of send_wizard.py with
from template import get_value
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants