make sure the smtp port is int
update history