Thanks for your reply.
The fix didn’t work for me.
But today I realised that the problem is not in the code, but the fact that the database-backup can’t be send.
The database can be downloaded to my local computer, but can’t be e-mailed.
The accounts with the SMTP plugin installed have no problem.