Rweth wrote: > for aline in buf: > bufHeal.append(aline.replace('\r\n', '\n')) What does one single aline look like? > s.body(id,afile) Does the 'afile' contain a filename or a filepointer? Cheers, -- Klaus Alexander Seistrup http://klaus.seistrup.dk/