private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
		if (toTextField.getText().indexOf("@") == -1) {
			toTextField.setText(JOptionPane.showInputDialog(null, "ȷдռ",
					"ʾ", JOptionPane.OK_OPTION));
			return;
		}

		packMail();
		try {
			String msg = MailAction.send(user, mail);
			JOptionPane.showConfirmDialog(null, msg, "ʾ",
					JOptionPane.OK_OPTION);
			mail.setTime(new Date().getTime());
			MailAction.save(mail, "user/"+user.getUsername()+"/postBox.dat");
			dispose();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}