Test & activation emails are sent with port 4000 included

SiteSetting.port returned 4000, so setting this to “” fixed the email issue. Thank you!