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

lmtp delivery fails with unicode characters #8

Open
paultaiton opened this issue Apr 20, 2020 · 0 comments
Open

lmtp delivery fails with unicode characters #8

paultaiton opened this issue Apr 20, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@paultaiton
Copy link
Owner

Traceback (most recent call last):
File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/cloudmra/.local/lib/python3.7/site-packages/cloudmra/main.py", line 91, in
sys.exit(main())
File "/home/cloudmra/.local/lib/python3.7/site-packages/cloudmra/main.py", line 84, in main
main_overseer.process()
File "/home/cloudmra/.local/lib/python3.7/site-packages/cloudmra/main.py", line 51, in process
if (self.outhandler.deliver(message, i)):
File "/home/cloudmra/.local/lib/python3.7/site-packages/cloudmra/deliveryhandler.py", line 22, in deliver
self.lmtp.sendmail(from_addr='', to_addrs=receipient, msg=message)
File "/usr/lib64/python3.7/smtplib.py", line 855, in sendmail
msg = _fix_eols(msg).encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode character '\xae' in position 10431: ordinal not in range(128)

@paultaiton paultaiton added the bug Something isn't working label Apr 20, 2020
@paultaiton paultaiton self-assigned this Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant