extract smtp port to settings