Package src.util
Class mailHTML
java.lang.Object
src.util.mailHTML
HTML-Generator for the Mail Class
HTML code for the body of the mail was generated on https://unlayer.com/
for the purpose of layout and format only
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
setMailBodyCancel
(appointment appointment, user user) Generate Cancel-Mailstatic String
setMailBodyCreated
(appointment appointment, user user) Generate Create-Appointment-Mailstatic String
setMailBodyMove
(appointment appointment, user user, LocalDateTime old) Generate Move-Appointment-Mailstatic String
setMailBodyReminder
(appointment appointment, user user) Generate Reminder-Mail
-
Constructor Details
-
mailHTML
public mailHTML()
-
-
Method Details
-
setMailBodyReminder
Generate Reminder-Mail- Parameters:
appointment
-user
-- Returns:
- HTML-Code
-
setMailBodyCancel
Generate Cancel-Mail- Parameters:
appointment
-user
-- Returns:
- HTML-Code
-
setMailBodyMove
Generate Move-Appointment-Mail- Parameters:
appointment
-user
-old
- old Date and Time- Returns:
- HTML-Code
-
setMailBodyCreated
Generate Create-Appointment-Mail- Parameters:
appointment
-user
-- Returns:
- HTML-Code
-