Class MailSenderRequestBody

java.lang.Object
best.skn.mail.entities.MailSenderRequestBody
All Implemented Interfaces:
MailSenderRequestBodyInterface

@Component public class MailSenderRequestBody extends Object implements MailSenderRequestBodyInterface
Mail sender request body class 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    private String property for containing mail body
    private String
    private String property for containing the file path to the attachment
    private String
    private String property for containing mail sender email address
    private String
    private String property for containing mail subject
    private String
    private String property for containing the template name for the HTML template
    private String
    private String property for containing mail receiver email address
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    a getter method to get the mail body
    a getter method to get the file path to the attachment
    A getter method to get the mail sender email address
    A getter method to get the mail subject
    a getter method to get the template name for the HTML template
    A getter method to get the mail receiver email address

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • from

      private String from
      private String property for containing mail sender email address
      Since:
      v1.0.0
    • to

      private String to
      private String property for containing mail receiver email address
      Since:
      v1.0.0
    • subject

      private String subject
      private String property for containing mail subject
      Since:
      v1.0.0
    • body

      private String body
      private String property for containing mail body
      Since:
      v1.0.0
    • filePath

      private String filePath
      private String property for containing the file path to the attachment
      Since:
      v1.0.0
    • templateName

      private String templateName
      private String property for containing the template name for the HTML template
      Since:
      v1.0.0
  • Constructor Details

    • MailSenderRequestBody

      public MailSenderRequestBody()
  • Method Details