java.lang.Object
ru.bitel.bgbilling.kernel.admin.mail.server.bean.MailData

public class MailData extends Object
  • Constructor Details

    • MailData

      public MailData(String mailKey)
  • Method Details

    • getMailKey

      public String getMailKey()
    • getModuleId

      public int getModuleId()
    • getContractId

      public int getContractId()
    • setModuleId

      public void setModuleId(int moduleId)
    • setContractId

      public void setContractId(int contractId)
    • getRecipients

      public String getRecipients()
    • setRecipients

      public void setRecipients(String recipients)
    • getSubject

      public String getSubject()
    • setSubject

      public void setSubject(String subject)
    • getMultipart

      public jakarta.mail.Multipart getMultipart()
    • setMultipart

      public void setMultipart(jakarta.mail.Multipart multipart)
    • getMimeBodyPart

      public jakarta.mail.internet.MimeBodyPart getMimeBodyPart(String key)
    • addTextPart

      public void addTextPart(String key, String text) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • addTextPart

      public void addTextPart(String key, String text, String contentType) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • addPart

      public void addPart(String key, String disposition, String contentType, String fileName, byte[] content) throws jakarta.mail.MessagingException, UnsupportedEncodingException
      Parameters:
      key -
      disposition - null, inline, attachment
      contentType -
      fileName -
      content -
      Throws:
      jakarta.mail.MessagingException
      UnsupportedEncodingException
    • toMailDto

      public ru.bitel.bgbilling.kernel.admin.mail.common.dto.MailDto toMailDto()