##// END OF EJS Templates
py3: decode email headers with mail.headdecode() in notify extension
Denis Laxalde -
r43636:416041f9 stable
parent child Browse files
Show More
@@ -391,9 +391,9 b' class notifier(object):'
391 391 sender = msg[r'From']
392 392 subject = msg[r'Subject']
393 393 if sender is not None:
394 sender = encoding.strtolocal(sender)
394 sender = mail.headdecode(sender)
395 395 if subject is not None:
396 subject = encoding.strtolocal(subject)
396 subject = mail.headdecode(subject)
397 397 del msg[r'From'], msg[r'Subject']
398 398
399 399 if not msg.is_multipart():
General Comments 0
You need to be logged in to leave comments. Login now