bugfix de la fonction getObjectTop.
[Plinn.git] / skins / generic / quopri_member.py
1 ##parameters=member=None, name='', email=''
2 from quopri import encodestring
3 if member is not None :
4 n = member.getMemberFullName(nameBefore=0)
5 e = member.getProperty('email')
6 else :
7 n = name
8 e = email
9
10 qpName = encodestring(n).replace('=\n', '')
11 return '''"=?utf-8?q?%s?=" <%s>''' % (qpName, e)