Package ru.bgcrm.util
Class MailMsg
java.lang.Object
ru.bgcrm.util.MailMsg
E-Mail sender from BGERP.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getParamMailEncoding
(ConfigMap paramMap) void
sendMessage
(String recipients, String subject, String txt) Sends simple text message.void
sendMessage
(String recipient, String subject, String txt, String type) Deprecated.void
sendMessage
(String recipient, String subject, javax.mail.Multipart mp) Deprecated.void
sendMessage
(List<String> recipients, String subject, String txt) Sends simple text message.void
sendMessage
(List<String> mails, String subject, javax.mail.Multipart mp) Deprecated.void
sendMessageAndHandle
(String Recipient, String subject, javax.mail.Multipart mp) Deprecated.void
sendMessageAndHandleEx
(String mails, String subject, String content, String contentType) Deprecated.void
sendMessageEx
(String mails, String subject, String content, String contentType) Deprecated.
-
Constructor Details
-
MailMsg
-
-
Method Details
-
getParamMailEncoding
-
sendMessage
Sends simple text message.- Parameters:
recipients
- comma separated addresses.subject
- subject.txt
- body text.
-
sendMessage
Sends simple text message.- Parameters:
recipients
- addresses.subject
- subject.txt
- body text.
-
sendMessage
Deprecated. -
sendMessage
Deprecated. -
sendMessage
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
-