Fix Sqlite dump. Add php-mail function.