Added smtp class