Interface IBaseMail

    • Field Detail

      • MAIL_TYPE_SINGLE

        static final int MAIL_TYPE_SINGLE
        Indicates the mail is a single mail.
        See Also:
        Constant Field Values
      • MAIL_TYPE_MULTIPLE

        static final int MAIL_TYPE_MULTIPLE
        Indicates the mail is a multiple mail, i.e. will span several other mails when sending.
        See Also:
        Constant Field Values
    • Method Detail

      • getRequestDateTime

        java.util.Date getRequestDateTime()
        Returns the date this mail has been requested to be sent. May be null, if the send request was not made yet.
        Returns:
        the date this mail has been requested to be sent.
        Since:
        4.0.4
      • getBody

        IMailBody getBody()
        Returns the body of this mail.
        Returns:
        the body of this mail.
        Since:
        4.0.4
      • getCharset

        java.lang.String getCharset()
        Returns the charset of this mail.
        Returns:
        the charset of this mail.
        Since:
        4.0.4
      • setCharset

        void setCharset​(java.lang.String charset)
        Sets the chartset of this mail.
        Parameters:
        charset - the charset.
        Since:
        4.0.4
      • getFrom

        java.lang.String getFrom()
        Returns the from field of this mail.
        Returns:
        the from field of this mail.
        Since:
        4.0.4
      • setFrom

        void setFrom​(java.lang.String from)
        Sets the from field of this mail.
        Parameters:
        from - the from field value.
        Since:
        4.0.4
      • getId

        java.lang.String getId()
        Returns the id of this mail. This id is a unique identifier for this mail.
        Returns:
        the id of this mail.
        Since:
        4.0.4
      • getReplyTo

        java.lang.String getReplyTo()
        Returns the reply to field of this mail. May contain a list of email addresses separated by comma.
        Returns:
        the reply to field of this mail.
        Since:
        4.0.4
      • setReplyTo

        void setReplyTo​(java.lang.String replyTo)
        Sets the reply to field of this mail. May contain a list of email addresses separated by comma.
        Parameters:
        replyTo - the reply to field value.
        Since:
        4.0.4
      • getSubject

        java.lang.String getSubject()
        Returns the subject of this mail.
        Returns:
        the subject of this mail.
        Since:
        4.0.4
      • setSubject

        void setSubject​(java.lang.String subject)
        Sets the subject of this mail.
        Parameters:
        subject - the subject value.
        Since:
        4.0.4
      • getSourceComponent

        java.lang.String getSourceComponent()
        Returns the string describing the source component for this mail request.
        Returns:
        the string describing the source component for this mail request.
        Since:
        4.0.4
        See Also:
        getSourceComponentStringsUrl()
      • setSourceComponent

        void setSourceComponent​(java.lang.String sourceComponent)
        Sets the string describing the source component for this mail request.
        Parameters:
        sourceComponent - the string value.
        Since:
        4.0.4
        See Also:
        setSourceComponentStringsUrl(String)
      • getSourceComponentStringsUrl

        java.lang.String getSourceComponentStringsUrl()
        Returns the strings url prefix for translating getSourceComponent().
        Returns:
        the strings url prefix for translating getSourceComponent().
        Since:
        4.0.4
      • setSourceComponentStringsUrl

        void setSourceComponentStringsUrl​(java.lang.String sourceComponentStrings)
        Sets the strings url prefix for translating getSourceComponent().
        Parameters:
        sourceComponentStrings - the value to set.
        Since:
        4.0.4
        See Also:
        setSourceComponent(String)
      • getMailLoggingString

        java.lang.String getMailLoggingString()
        Returns a String used for logging this mail.
        Returns:
        the string for logging this mail.
        Since:
        4.0.4