Class IncaMailMessage

java.lang.Object
ch.tocco.nice2.optional.incamail.impl.IncaMailMessage
All Implemented Interfaces:
MailMessage

public class IncaMailMessage extends Object implements MailMessage
  • Constructor Details

    • IncaMailMessage

      public IncaMailMessage(IncaMailBean bean)
  • Method Details

    • supportsModifyingSender

      public boolean supportsModifyingSender()
      Specified by:
      supportsModifyingSender in interface MailMessage
    • getFrom

      public jakarta.mail.internet.InternetAddress[] getFrom()
      Specified by:
      getFrom in interface MailMessage
    • getTo

      public jakarta.mail.internet.InternetAddress[] getTo() throws jakarta.mail.MessagingException
      Specified by:
      getTo in interface MailMessage
      Throws:
      jakarta.mail.MessagingException
    • getCC

      public jakarta.mail.internet.InternetAddress[] getCC()
      Specified by:
      getCC in interface MailMessage
    • getBcc

      public jakarta.mail.internet.InternetAddress[] getBcc()
      Specified by:
      getBcc in interface MailMessage
    • getReplyTo

      public jakarta.mail.internet.InternetAddress[] getReplyTo()
      Specified by:
      getReplyTo in interface MailMessage
    • unwrap

      public Object unwrap()
      Specified by:
      unwrap in interface MailMessage
    • setSender

      public void setSender(@Nullable @Nullable jakarta.mail.Address sender) throws jakarta.mail.MessagingException
      Specified by:
      setSender in interface MailMessage
      Throws:
      jakarta.mail.MessagingException
    • setFrom

      public void setFrom(jakarta.mail.Address from)
      Specified by:
      setFrom in interface MailMessage
    • setReplyTo

      public void setReplyTo(jakarta.mail.Address[] replyTo)
      Specified by:
      setReplyTo in interface MailMessage
    • setTo

      public void setTo(jakarta.mail.Address[] to)
      Specified by:
      setTo in interface MailMessage
    • setCc

      public void setCc(jakarta.mail.Address[] cc)
      Specified by:
      setCc in interface MailMessage
    • setBcc

      public void setBcc(jakarta.mail.Address[] bcc)
      Specified by:
      setBcc in interface MailMessage
    • getHtmlParts

      public MailMessage.HtmlPart[] getHtmlParts()
      Specified by:
      getHtmlParts in interface MailMessage