Hi ...one more hint: if the line Content-Type: application/octet-stream; charset=iso-8859-1 don't appear in the attachement header line, the filename appears correct in PMMail even if Content-Disposition: attachment;filename="correct_file.name" is missing. Is it a bug or a feature?????????? Chris Hellwig