##// END OF EJS Templates
py3: use stdlib's parseaddr() to get sender header in notify extension...
Denis Laxalde -
r43635:ac33550f stable
parent child Browse files
Show More
@@ -148,6 +148,7 web.baseurl
148 148 from __future__ import absolute_import
149 149
150 150 import email.errors as emailerrors
151 import email.utils as emailutils
151 152 import fnmatch
152 153 import hashlib
153 154 import socket
@@ -450,7 +451,7 class notifier(object):
450 451 )
451 452 mail.sendmail(
452 453 self.ui,
453 stringutil.email(msg[r'From']),
454 emailutils.parseaddr(msg[r'From'])[1],
454 455 subs,
455 456 msgtext,
456 457 mbox=self.mbox,
General Comments 0
You need to be logged in to leave comments. Login now