

def set_header(self, key, value):
    key = encode(key)
    value = encode(value)
    if self.msg_root.has_key(key):
        del self.msg_root[key]
    self.msg_root[key] = value

dataset/ETHPy150Open frappe/frappe/frappe/email/email_body.py EMail.set_header/original