fix smtp support