Package best.skn.mail.entities
Interface MailSenderRequestBodyInterface
- All Known Implementing Classes:
MailSenderRequestBody
@Component
public interface MailSenderRequestBodyInterface
Mail sender request body interface for @RequestBody annotated params in controllers
- Since:
- 2024-03-07
- Version:
- 1.2.1
- Author:
- SKN
- Use Case:
- Spring Boot Reactive
- Dedicated To:
- Trina, Logno and Atoshi
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()a getter method to get the mail bodya getter method to get the file path to the attachmentgetFrom()A getter method to get the mail sender email addressA getter method to get the mail subjecta getter method to get the template name for the HTML templategetTo()A getter method to get the mail receiver email address
-
Method Details
-
getFrom
String getFrom()A getter method to get the mail sender email address- Returns:
- a String containing the mail sender email address
- Since:
- v1.0.0
-
getTo
String getTo()A getter method to get the mail receiver email address- Returns:
- a String containing the mail receiver email address
- Since:
- v1.0.0
-
getSubject
String getSubject()A getter method to get the mail subject- Returns:
- a String containing the mail subject
- Since:
- v1.0.0
-
getBody
String getBody()a getter method to get the mail body- Returns:
- a String containing the mail body
- Since:
- v1.0.0
-
getFilePath
String getFilePath()a getter method to get the file path to the attachment- Returns:
- a String containing the file path to the attachment
- Since:
- v1.0.0
-
getTemplateName
String getTemplateName()a getter method to get the template name for the HTML template- Returns:
- a String containing the template name for the HTML template
- Since:
- v1.0.0
-