fixed broken mail template

This commit is contained in:
jomu
2015-12-08 17:16:09 +00:00
parent a704bfb6ed
commit 01626cb07c

View File

@ -43,7 +43,7 @@ public class MailService {
MailDatamodel dataModel = new MailDatamodel(account); MailDatamodel dataModel = new MailDatamodel(account);
dataModel.addParameter("url", "http://url.de"); dataModel.addParameter("url", "http://url.de");
dataModel.addParameter("resetUrl", "http://reseturl.de"); dataModel.addParameter("resetUrl", "http://reseturl.de");
sendHTMLMail(recipient, "Test HTML Email", dataModel, "password_reset"); sendHTMLMail(recipient, "Test HTML Email", dataModel, "password_reset_html");
} }
public void sendMail(String recipient, String subject, String body) throws MailException { public void sendMail(String recipient, String subject, String body) throws MailException {
@ -100,6 +100,6 @@ public class MailService {
throw new MailException("Error while sending email.", ex); throw new MailException("Error while sending email.", ex);
} }
sendHTMLMail(account.getEmailaddress(), "Reset your password", model, "password_reset"); sendHTMLMail(account.getEmailaddress(), "Reset your password", model, "password_reset_html");
} }
} }