Skip to content

Issues with smtp and str decode #4

Description

@zbyna

Hi,
thanks for great addon:

1. SMTP issue:
03:09:17 T:3412   ERROR:   File "E:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 724, in sendmail
03:09:17 T:3412   ERROR:     raise SMTPSenderRefused(code, resp, from_addr)
03:09:17 T:3412   ERROR: SMTPSenderRefused: (553, '5.1.2 The sender address <Buggalo> is not a valid RFC-5321 address. n1si5265611wju.284 - gsmtp', 'Buggalo')
2. String decoding:
File "C:\Users\decak\AppData\Roaming\Kodi\addons\script.module.buggalo\lib\buggalo_client.py", line 152, in emailData
03:13:51 T:984   ERROR:     body += '<tr><td>%s</td>' % key
03:13:51 T:984   ERROR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 356: ordinal not in range(128)

Patch: #5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions