Package ru.bgcrm.util

Class MailMsg

java.lang.Object
ru.bgcrm.util.MailMsg

public class MailMsg extends Object
E-Mail sender from BGERP.
  • Constructor Details

    • MailMsg

      public MailMsg(ConfigMap paramMap)
  • Method Details

    • getParamMailEncoding

      public static String getParamMailEncoding(ConfigMap paramMap)
    • sendMessage

      public void sendMessage(String recipients, String subject, String txt)
      Sends simple text message.
      Parameters:
      recipients - comma separated addresses.
      subject - subject.
      txt - body text.
    • sendMessage

      public void sendMessage(List<String> recipients, String subject, String txt)
      Sends simple text message.
      Parameters:
      recipients - addresses.
      subject - subject.
      txt - body text.
    • sendMessage

      @Deprecated public void sendMessage(String recipient, String subject, String txt, String type)
      Deprecated.
    • sendMessage

      @Deprecated public void sendMessage(List<String> mails, String subject, javax.mail.Multipart mp)
      Deprecated.
    • sendMessage

      @Deprecated public void sendMessage(String recipient, String subject, javax.mail.Multipart mp)
      Deprecated.
      Отправляет письмо адресату
      Parameters:
      recipient - адресат
      subject - тема
      mp - тело сообщения
    • sendMessageEx

      @Deprecated public void sendMessageEx(String mails, String subject, String content, String contentType)
      Deprecated.
    • sendMessageAndHandle

      @Deprecated public void sendMessageAndHandle(String Recipient, String subject, javax.mail.Multipart mp) throws javax.mail.MessagingException
      Deprecated.
      Throws:
      javax.mail.MessagingException
    • sendMessageAndHandleEx

      @Deprecated public void sendMessageAndHandleEx(String mails, String subject, String content, String contentType) throws javax.mail.MessagingException
      Deprecated.
      Throws:
      javax.mail.MessagingException