fix logger in smtp