You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling stats.py, works fine with the date parameters, when adding the mail (-m) flag, results in the following error:
Traceback (most recent call last):
File "/var/www/MISP/PyMISP/examples/stats_report.py", line 405, in
print_report(report_body, attachments, smtp_from, smtp_to, smtp_server, misp_url)
File "/var/www/MISP/PyMISP/examples/stats_report.py", line 312, in print_report
server.sendmail(smtp_from, smtp_to, msg.as_string())
File "/usr/lib/python3.10/smtplib.py", line 875, in sendmail
msg = _fix_eols(msg).encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 143201-143203: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
When calling stats.py, works fine with the date parameters, when adding the mail (-m) flag, results in the following error:
Traceback (most recent call last):
File "/var/www/MISP/PyMISP/examples/stats_report.py", line 405, in
print_report(report_body, attachments, smtp_from, smtp_to, smtp_server, misp_url)
File "/var/www/MISP/PyMISP/examples/stats_report.py", line 312, in print_report
server.sendmail(smtp_from, smtp_to, msg.as_string())
File "/usr/lib/python3.10/smtplib.py", line 875, in sendmail
msg = _fix_eols(msg).encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 143201-143203: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: