added method useSMTP