String verification_url) {
try {
super.init();
Fieldlanguagesvalues labelid507 = fieldManager
.getFieldByIdAndLanguage(new Long(507), default_lang_id);
Fieldlanguagesvalues labelid508 = fieldManager
.getFieldByIdAndLanguage(new Long(508), default_lang_id);
Fieldlanguagesvalues labelid509 = fieldManager
.getFieldByIdAndLanguage(new Long(509), default_lang_id);
Fieldlanguagesvalues labelid510 = fieldManager
.getFieldByIdAndLanguage(new Long(510), default_lang_id);
Fieldlanguagesvalues labelid667 = fieldManager
.getFieldByIdAndLanguage(new Long(667), default_lang_id);
Fieldlanguagesvalues labelid668 = fieldManager
.getFieldByIdAndLanguage(new Long(668), default_lang_id);
/* lets make a Context and put data into it */
VelocityContext context = new VelocityContext();
context.put("username", username);
context.put("userpass", userpass);
context.put("mail", email);
context.put("verification_url", verification_url);
context.put("labelid506", fieldManager.getString(506L, default_lang_id));
context.put("labelid507", labelid507.getValue());
context.put("labelid508", labelid508.getValue());
context.put("labelid509", labelid509.getValue());
context.put("labelid510", labelid510.getValue());
context.put("labelid511", fieldManager.getString(511L, default_lang_id));
context.put("labelid667", labelid667.getValue());
context.put("labelid668", labelid668.getValue());
/* lets render a template */
StringWriter w = new StringWriter();
Velocity.mergeTemplate(templateNameVerification, "UTF-8", context,