ensure port value for SMTP parameters is an integer