Issue#605 Preparations for PHP 5.5 / PDO
Fixes mail-copy function.
Removed old TODO and added some notes.