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

        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

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

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

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

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

        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

        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​(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

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

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

        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​(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)
      • setSourceComponentStringsUrl

        void setSourceComponentStringsUrl​(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

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