directory tree not shown on remote server
There were three problems, actually
1) the file permissions solved it partly, but not really. In the end it showed 1 of 1, remaining 1 second. There were 3800 mails in the loop an the counter stayd frozen - nothing was counted and no remaining time was shown.
2) There was another issue which made the whole thing unusable: I had entered Wait 1 second after each mail and set the maximum time to 400 emails every 10 minutes (Once Per Entry). But it fired them out all at once, which created more than 7000 error messages in the email_log database, all with the same message: "Too many connections". I first did a test with 8 email addresses only, but of course it sent them out OK
3) I had entered tu use UTF-8, which was not passed on to the system, so all the European letters cam out wrong. I had to hard-code it into the file PEAR_Mail_using_SMTP_php.php.
One last remark to file permissions: The host uses Ubuntu server, which behaves similar to Debian. It means that the server uses its own user / group called www-data:www-data for APACHE which is different from the ftp user/group. It has great advantages because files can be secured towards ftp access, but they are also immune towards changes done via ftp file permission settings. There is an interface though, where I can change the user/group