org.ujmp.mail
Class MailUtil

java.lang.Object
  extended by org.ujmp.mail.MailUtil

public class MailUtil
extends Object


Constructor Summary
MailUtil()
           
 
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
 

Constructor Detail

MailUtil

public MailUtil()
Method Detail

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.