org.ujmp.mail
Class MailUtil
java.lang.Object
org.ujmp.mail.MailUtil
public class MailUtil
- extends Object
Method Summary |
static 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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailUtil
public MailUtil()
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
Copyright © 2010. All Rights Reserved.