Added check if the SMTP server was already in ip:port format and use
that instead of concatenating the ip and port together