Class MailItem

  • All Implemented Interfaces:
    java.io.Serializable

    public class MailItem
    extends java.lang.Object
    implements java.io.Serializable
    MailIem
    See Also:
    Serialized Form
    • Constructor Detail

      • MailItem

        public MailItem()
    • Method Detail

      • getRecipientsTo

        public java.lang.String getRecipientsTo()
        Returns the Recipient
        Returns:
        The Recipient
      • setRecipientsTo

        public void setRecipientsTo​(java.lang.String strRecipient)
        Sets the Recipient
        Parameters:
        strRecipient - The Recipient
      • getRecipientsCc

        public java.lang.String getRecipientsCc()
        Returns the Recipient
        Returns:
        The Recipient
      • setRecipientsCc

        public void setRecipientsCc​(java.lang.String strRecipient)
        Sets the Recipient
        Parameters:
        strRecipient - The Recipient
      • getRecipientsBcc

        public java.lang.String getRecipientsBcc()
        Returns the Recipient
        Returns:
        The Recipient
      • setRecipientsBcc

        public void setRecipientsBcc​(java.lang.String strRecipient)
        Sets the Recipient
        Parameters:
        strRecipient - The Recipient
      • getSenderName

        public java.lang.String getSenderName()
        Returns the SenderName
        Returns:
        The SenderName
      • setSenderName

        public void setSenderName​(java.lang.String strSenderName)
        Sets the SenderName
        Parameters:
        strSenderName - The SenderName
      • getSenderEmail

        public java.lang.String getSenderEmail()
        Returns the SenderEmail
        Returns:
        The SenderEmail
      • setSenderEmail

        public void setSenderEmail​(java.lang.String strSenderEmail)
        Sets the SenderEmail
        Parameters:
        strSenderEmail - The SenderEmail
      • getSubject

        public java.lang.String getSubject()
        Returns the Subject
        Returns:
        The Subject
      • setSubject

        public void setSubject​(java.lang.String strSubject)
        Sets the Subject
        Parameters:
        strSubject - The Subject
      • getMessage

        public java.lang.String getMessage()
        Returns the Message
        Returns:
        The Message
      • setMessage

        public void setMessage​(java.lang.String strMessage)
        Sets the Message
        Parameters:
        strMessage - The Message
      • getCalendarMessage

        public java.lang.String getCalendarMessage()
        Returns the calendar message
        Returns:
        The calendar message
      • setCalendarMessage

        public void setCalendarMessage​(java.lang.String strCalendarMessage)
        Sets the calendar message
        Parameters:
        strCalendarMessage - The calendar message
      • getCreateEvent

        public boolean getCreateEvent()
        Check if the calendar event of this mail item should be created or removed
        Returns:
        True if the event should be created, false if it should be removed
      • setCreateEvent

        public void setCreateEvent​(boolean bCreateEvent)
        Create or remove the event of this mail item
        Parameters:
        bCreateEvent - True to create the event, false otherwise
      • getFormat

        public int getFormat()
        Returns the Format
        Returns:
        The Format
      • setFormat

        public void setFormat​(int nFormat)
        Sets the Format
        Parameters:
        nFormat - The Format
      • getFilesAttachement

        public java.util.List<FileAttachment> getFilesAttachement()
        Returns a collection of files attachement
        Returns:
        The Attachements Map
      • setFilesAttachement

        public void setFilesAttachement​(java.util.List<FileAttachment> fileAttachements)
        Set a collection of files attachement
        Parameters:
        fileAttachements - The collection of files attachement
      • getUrlsAttachement

        public java.util.List<UrlAttachment> getUrlsAttachement()
        return the list of urls attachement
        Returns:
        the list of urls attachement
      • setUrlsAttachement

        public void setUrlsAttachement​(java.util.List<UrlAttachment> urlsAttachement)
        set the list of urls attachement
        Parameters:
        urlsAttachement - the list of urls attachement
      • setUniqueRecipientTo

        public void setUniqueRecipientTo​(boolean bUniqueRecipient)
        set true if the mail must be send unitarily for each recipient
        Parameters:
        bUniqueRecipient - true if the mail must be send unitarily for each recipient
      • isUniqueRecipientTo

        public boolean isUniqueRecipientTo()
        Returns:
        if the mail must be send unitarily for each recipient