'Parse all addresses.
Returns a list containing all of the addresses.'

def getaddrlist(self):

    result = []
    while (self.pos < len(self.field)):
        ad = self.getaddress()
        if ad:
            result += ad
        else:
            result.append(('', ''))
    return result
