Fix bug DNN-5031: idle time should set after specific the smtp port.