Module com.s8.api

Interface S8MailBuilder


public interface S8MailBuilder
A Simple Mail Builder interface.
Author:
Pierre Convert Copyright (C) 2025, Pierre Convert. All rights reserved.
  • Method Details

    • setDisplayedSender

      void setDisplayedSender(String name)
      Set the displayed name.
      Parameters:
      name - the displayed name
    • setRecipient

      void setRecipient(String email)
      Set the recipient email
      Parameters:
      email - the email of the recipient
    • setSubject

      void setSubject(String text)
      Set the subject
      Parameters:
      text - the subject
    • HTML_setWrapperStyle

      void HTML_setWrapperStyle(String CSS_classname, String CSS_style)
      Set wrapper style
      Parameters:
      CSS_classname - the CSS classname
      CSS_style - the CSS style
    • HTML_appendBaseElement

      void HTML_appendBaseElement(String tag, String CSS_classname, String CSS_style, String innerHTMLText)
      Append base element
      Parameters:
      tag - the tag
      CSS_classname - the class name
      CSS_style - the style
      innerHTMLText - the inner html content