Class EMail

All Implemented Interfaces:
Serializable

public class EMail extends Message
A represetnation of an Email message.
Author:
Michael Scholz, Marco Meschieri - LogicalDOC
See Also:
  • Constructor Details Link icon

    • EMail Link icon

      public EMail()
  • Method Details Link icon

    • getEmailId Link icon

      public String getEmailId()
    • setEmailId Link icon

      public void setEmailId(String emailId)
    • getAccountId Link icon

      public long getAccountId()
    • setAccountId Link icon

      public void setAccountId(long accountId)
    • getAuthorAddress Link icon

      public String getAuthorAddress()
    • getUsername Link icon

      public String getUsername()
    • setAuthorAddress Link icon

      public void setAuthorAddress(String address)
    • setUsername Link icon

      public void setUsername(String username)
    • addRecipient Link icon

      public void addRecipient(Recipient rec)
    • getFolder Link icon

      public String getFolder()
    • setFolder Link icon

      public void setFolder(String string)
    • getAttachments Link icon

      public Map<Integer,EMailAttachment> getAttachments()
    • getAttachment Link icon

      public EMailAttachment getAttachment(int partId)
    • addAttachment Link icon

      public void addAttachment(int partId, EMailAttachment attachment)
    • addAttachment Link icon

      public void addAttachment(EMailAttachment attachment)
    • getAddresses Link icon

      public Set<javax.mail.internet.InternetAddress> getAddresses()
    • getAddressesCC Link icon

      public Set<javax.mail.internet.InternetAddress> getAddressesCC()
    • getAddressesBCC Link icon

      public Set<javax.mail.internet.InternetAddress> getAddressesBCC()
    • getAttachmentsCount Link icon

      public int getAttachmentsCount()
    • setAttachments Link icon

      public void setAttachments(Map<Integer,EMailAttachment> attachments)
    • parseRecipients Link icon

      public void parseRecipients(String str)
    • parseRecipientsCC Link icon

      public void parseRecipientsCC(String str)
    • parseRecipientsBCC Link icon

      public void parseRecipientsBCC(String str)
    • parseReplyTo Link icon

      public void parseReplyTo(String str)
    • getRecipientsCC Link icon

      public Set<Recipient> getRecipientsCC()
    • setRecipientsCC Link icon

      public void setRecipientsCC(Set<Recipient> recipientsCC)
    • getRecipientsBCC Link icon

      public Set<Recipient> getRecipientsBCC()
    • setRecipientsBCC Link icon

      public void setRecipientsBCC(Set<Recipient> recipientsBCC)
    • getReplyTo Link icon

      public Set<Recipient> getReplyTo()
    • setReplyTo Link icon

      public void setReplyTo(Set<Recipient> replyTo)
    • isHtml Link icon

      public boolean isHtml()
    • getImages Link icon

      public Set<String> getImages()
    • setImages Link icon

      public void setImages(Set<String> images)
    • setAttachmentsCount Link icon

      public void setAttachmentsCount(int attachmentCount)
    • getFrom Link icon

      public Recipient getFrom()
    • setFrom Link icon

      public void setFrom(Recipient from)
    • isSigned Link icon

      public boolean isSigned()
    • getSigned Link icon

      public int getSigned()
    • setSigned Link icon

      public void setSigned(int signed)
    • isSkip Link icon

      public boolean isSkip()
    • setSkip Link icon

      public void setSkip(boolean skip)
    • getTargetFolder Link icon

      public Folder getTargetFolder()
    • setTargetFolder Link icon

      public void setTargetFolder(Folder targetFolder)
    • getAllRecipientsEmails Link icon

      public Set<String> getAllRecipientsEmails()
      Retrieves the set of all the recipients of the message, does not matter if they are direct recipient or CC or BCC
      Returns:
      the email addresses that will receive the message
    • isHistoricyze Link icon

      public boolean isHistoricyze()
    • setHistoricyze Link icon

      public void setHistoricyze(boolean historicyze)
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Message
    • equals Link icon

      public boolean equals(Object obj)
      Overrides:
      equals in class Message
    • getHeaders Link icon

      public Map<String,String> getHeaders()
    • setHeaders Link icon

      public void setHeaders(Map<String,String> headers)