Package org.ujmp.mail
Class MailUtil
java.lang.Object
org.ujmp.mail.MailUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
sendMessage
(String recipient, String subject, String text, String smtpServer, String userName, String password) static void
sendSystemErr
(String recipient, String subject, String smtpServer, String userName, String password) static void
sendSystemOut
(String recipient, String subject, String smtpServer, String userName, String password)
-
Constructor Details
-
MailUtil
public MailUtil()
-
-
Method Details
-
sendSystemOut
public static void sendSystemOut(String recipient, String subject, String smtpServer, String userName, String password) throws Exception - Throws:
Exception
-
sendSystemErr
public static void sendSystemErr(String recipient, String subject, String smtpServer, String userName, String password) throws Exception - Throws:
Exception
-
sendMessage
public static void sendMessage(String recipient, String subject, String text, String smtpServer, String userName, String password) throws Exception - Throws:
Exception
-