+ major + "." + minor + "." + bugfix + build + ".exe";
} else {
link = "http://www.tigase.org/files/downloads/tigase-server/tigase-server-"
+ major + "." + minor + "." + bugfix + build + ".tar.gz";
}
Element message = new Element("message",
new String[] {"to", "from"},
new String[] {receiver.getDefHostName(),
"updates.checker@" + receiver.getDefHostName()});
Element subject = new Element("subject",
"Updates checker - new version of the Tigase server");
message.addChild(subject);
Element body = new Element("body",
"You are currently using: '"
+ major_ver + "." + minor_ver + "." + bugfix_ver + "' version of Tigase"
+ " server. A new version of the server has been released: '"
+ major + "." + minor + "." + bugfix + "' and it is available for"
+ " download at address: " + link + "\n\n" + intro_msg);