email fix
This commit is contained in:
@@ -197,7 +197,7 @@ public class EmailService {
|
|||||||
String subject = String.format(" Afspraak geannuleerd: %s", formattedDate);
|
String subject = String.format(" Afspraak geannuleerd: %s", formattedDate);
|
||||||
String recipient = appointment.getCustomer().getEmail();
|
String recipient = appointment.getCustomer().getEmail();
|
||||||
|
|
||||||
mailer.send(Mail.withHtml(recipient, subject, emailBody).setFrom("Hairstyling By Daan <paypoint@melvanveen.nl>"));
|
mailer.send(Mail.withHtml(recipient, subject, emailBody).setFrom("Hairstyling By Daan <paypoint@melvanveen.nl>").setReplyTo(company.getEmail()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void stuurBewerking(Appointment appointment) {
|
public void stuurBewerking(Appointment appointment) {
|
||||||
@@ -285,7 +285,7 @@ public class EmailService {
|
|||||||
String subject = String.format(" Afspraak gewijzigd: %s", formattedDate);
|
String subject = String.format(" Afspraak gewijzigd: %s", formattedDate);
|
||||||
String recipient = appointment.getCustomer().getEmail();
|
String recipient = appointment.getCustomer().getEmail();
|
||||||
|
|
||||||
mailer.send(Mail.withHtml(recipient, subject, emailBody).setFrom(company.getEmail()));
|
mailer.send(Mail.withHtml(recipient, subject, emailBody).setFrom("Hairstyling By Daan <paypoint@melvanveen.nl>").setReplyTo(company.getEmail()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void stuurHerinnering(Appointment appointment) {
|
public void stuurHerinnering(Appointment appointment) {
|
||||||
|
|||||||
Reference in New Issue
Block a user