fixed broken mail template
This commit is contained in:
@ -43,7 +43,7 @@ public class MailService {
|
||||
MailDatamodel dataModel = new MailDatamodel(account);
|
||||
dataModel.addParameter("url", "http://url.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 {
|
||||
@ -100,6 +100,6 @@ public class MailService {
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user