@Override
	public void run() {
		//ʵʼķ󣬶˿ںţ25
		LocalServiceBean localService = OnceClass.getOnce().getLocalServiceInfo();
		int port = Integer.parseInt(localService.getStmpPort());
		String ip = "0.0.0.0";
		try {
			ip = InetAddress.getLocalHost().getHostAddress();
		} catch (UnknownHostException e1) {
			// TODO Auto-generated catch block
			e1.printStackTrace();
		}
		try {
			ServerSocket sendMailServerSocket = new ServerSocket(port, 0, InetAddress.getLocalHost());
			Util.saveLog("ɹESMTPʼip"+ip+"˿ںţ"+port+"ʱ"+Util.getNowTime());
			//Ϣ浽serverSocketMap
			OnceClass.getOnce().getServerSocketMap().put("sendMailServerSocket", sendMailServerSocket);
			while(flag){
				//ɹϢ
				Socket client = sendMailServerSocket.accept();
				//һʼ̣߳
				SendMailThread smTh = new SendMailThread(client);
				Thread sentTh = new Thread(smTh);
				sentTh.start();
			}
		} catch (UnknownHostException e) {
			// TODO Auto-generated catch block
			//e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			//e.printStackTrace();
			Util.saveLog("SMTPip"+ip+"˿ںţ"+port+"ֹͣСʱ䣺"+Util.getNowTime());
		}
	}