Package com.onec.mail.template
Annotation Interface MailTemplate
Declares a mail template attached to a document or catalog class.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameStable identifier, e.g. "booking-confirmed". -
subject
String subjectSubject line. May contain Thymeleaf expressions referring todoc. -
template
String templateBody template. Resolved by the resource loader. Default convention:classpath:/mail/{name}.html.- Default:
""
-
html
boolean htmlWhen true, body is sent as HTML.- Default:
true
-
replyTo
String replyToOptional default reply-to.- Default:
""
-