Class EmailDTO


  • public class EmailDTO
    extends Object
    DTO to describe an email
    • Constructor Detail

      • EmailDTO

        public EmailDTO​(String strSubject,
                        String strContent)
        Creates a new initialized EmailDTO
        Parameters:
        strSubject - The subject of the email
        strContent - The content of the email
    • Method Detail

      • getSubject

        public String getSubject()
        Get the subject of the email
        Returns:
        The subject of the email
      • getContent

        public String getContent()
        Get the content of the email
        Returns:
        the content of the email