Changeset 14

Show
Ignore:
Timestamp:
05/25/07 04:02:02 (2 years ago)
Author:
amcgregor
Message:

Applied patch to correct encoding of e-mail addresses as per #3.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/turbomail/message.py

    r8 r14  
    214214                for i in [[addresslist], addresslist][type(addresslist) == type([])]: 
    215215                        if type(i) == type(()): 
    216                                 addresses.append('"%s" <%s>' % (i[0], i[1])) 
     216                                addresses.append('"%s" <%s>' % (str(Header(i[0])), i[1])) 
    217217                        else: addresses.append(i) 
    218218