Interface MailMessage

All Known Implementing Classes:
IncaMailMessage, SmtpMailMessage

public interface MailMessage
An abstraction that enables to use the MessageProcessor using different kinds of mail representations.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.mail.internet.InternetAddress[]
     
    jakarta.mail.internet.InternetAddress[]
     
    jakarta.mail.internet.InternetAddress[]
     
     
    jakarta.mail.internet.InternetAddress[]
     
    jakarta.mail.internet.InternetAddress[]
     
    void
    setBcc(jakarta.mail.Address[] sender)
     
    void
    setCc(jakarta.mail.Address[] sender)
     
    void
    setFrom(jakarta.mail.Address sender)
     
    void
    setReplyTo(jakarta.mail.Address[] sender)
     
    void
    setSender(@Nullable jakarta.mail.Address sender)
     
    void
    setTo(jakarta.mail.Address[] sender)
     
    boolean
     
     
  • Method Details

    • supportsModifyingSender

      boolean supportsModifyingSender()
    • getFrom

      jakarta.mail.internet.InternetAddress[] getFrom() throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • getTo

      jakarta.mail.internet.InternetAddress[] getTo() throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • getCC

      jakarta.mail.internet.InternetAddress[] getCC() throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • getBcc

      jakarta.mail.internet.InternetAddress[] getBcc() throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • getReplyTo

      jakarta.mail.internet.InternetAddress[] getReplyTo()
    • unwrap

      Object unwrap()
    • setSender

      void setSender(@Nullable @Nullable jakarta.mail.Address sender) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • setFrom

      void setFrom(jakarta.mail.Address sender) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • setReplyTo

      void setReplyTo(jakarta.mail.Address[] sender) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • setTo

      void setTo(jakarta.mail.Address[] sender) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • setCc

      void setCc(jakarta.mail.Address[] sender) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • setBcc

      void setBcc(jakarta.mail.Address[] sender) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • getHtmlParts

      MailMessage.HtmlPart[] getHtmlParts() throws IOException, jakarta.mail.MessagingException
      Throws:
      IOException
      jakarta.mail.MessagingException