public int send(){
try {
Properties props = new Properties();
props.put("mail.smtp.host", this.mailhost);
Session mailConnection = Session.getInstance(props, null);
MimeMessage msg = new MimeMessage(mailConnection);
Address to = new InternetAddress(this.mailto);
Address from = new InternetAddress(this.mailfrom);