void BindSMTPServer() { _smtpServer.Stop(); this._smtpServer.ListenIpAddress = this._serviceSettings.IP; this._smtpServer.ListenPort = this._serviceSettings.Port; _smtpServer.Start(); }
void BindSMTPServer() { _smtpServer.Stop(); _smtpServer.Start(new EndpointDefinition(this._serviceSettings.IP, this._serviceSettings.Port)); }