Class SubethaEmailMessage

  • All Implemented Interfaces:
    java.io.Serializable, EmailMessage

    public class SubethaEmailMessage
    extends java.lang.Object
    implements EmailMessage
    Concrete representation of an email message as implemented for the SubEtha mail server.
    Since:
    2.2
    See Also:
    Serialized Form
    • Constructor Detail

      • SubethaEmailMessage

        protected SubethaEmailMessage()
      • SubethaEmailMessage

        public SubethaEmailMessage​(javax.mail.internet.MimeMessage mimeMessage)
      • SubethaEmailMessage

        public SubethaEmailMessage​(java.io.InputStream dataInputStream)
    • Method Detail

      • setRmiRegistry

        public void setRmiRegistry​(java.lang.String rmiRegistryHost,
                                   int rmiRegistryPort)
      • getCC

        public java.util.List<java.lang.String> getCC()
        Specified by:
        getCC in interface EmailMessage
        Returns:
        CC addresses.
      • getFrom

        public java.lang.String getFrom()
        Specified by:
        getFrom in interface EmailMessage
        Returns:
        FROM address.
      • getTo

        public java.lang.String getTo()
        Specified by:
        getTo in interface EmailMessage
        Returns:
        TO address.
      • getSentDate

        public java.util.Date getSentDate()
        Specified by:
        getSentDate in interface EmailMessage
        Returns:
        sent date.
      • getSubject

        public java.lang.String getSubject()
        Description copied from interface: EmailMessage
        Get the subject of the message
        Specified by:
        getSubject in interface EmailMessage
        Returns:
        subject of the message or null if there is no subject.