(msg)
Encode the message's payload in quoted-printable.

    Also, add an appropriate Content-Transfer-Encoding header.
Encode the message's payload in quoted-printable.
Encode the message s payload in quoted - printable .
def encode_quopri(msg):
    """Encode the message's payload in quoted-printable.

    Also, add an appropriate Content-Transfer-Encoding header.
    """
    orig = msg.get_payload(decode=True)
    encdata = _qencode(orig)
    msg.set_payload(encdata)
    msg['Content-Transfer-Encoding'] = 'quoted-printable'
def encode_quopri ( msg ) : orig = msg . get_payload ( decode = True ) encdata = _qencode ( orig ) msg . set_payload ( encdata ) msg [ 'Content-Transfer-Encoding' ] = 'quoted-printable'