java.lang.Object
com.tivoli.am.fim.trustserver.sts.utilities.Emailsts

public class Emailsts extends Object
This class represents an email that can be sent to an SMTP server using the EmailSendersts class.
  • Constructor Details

    • Emailsts

      public Emailsts(String subject, String content, String sender, String recipient)
      Construct an OTP email with the specified subject, date, content, sender, and recipient. Defaults the content type to text/plain.
      Parameters:
      subject - The subject.
      content - The content.
      sender - The sender.
      recipient - The recipient.
      date - The date.
    • Emailsts

      public Emailsts(String subject, String content, String sender, String recipient, String contentType)
      Construct an OTP email with the specified subject, date, content, sender, and recipient.
      Parameters:
      subject - The subject.
      content - The content.
      sender - The sender.
      recipient - The recipient.
      contentType - The content type
      date - The date.
  • Method Details

    • getSubject

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

      public String getContent()
      Get the content.
      Returns:
      The content.
    • getSender

      public String getSender()
      Get the sender.
      Returns:
      The sender.
    • getRecipient

      public String getRecipient()
      Get the recipient.
      Returns:
      The recipient.
    • getContentType

      public String getContentType()
      Get the content type
      Returns:
      the content type