za.org.coefficient.util.common
Class MailUtil

java.lang.Object
  extended by za.org.coefficient.util.common.MailUtil

public class MailUtil
extends java.lang.Object

This is a utility class that allows the system to send email notifications


Field Summary
private static javax.mail.Session session
           
 
Constructor Summary
MailUtil()
           
 
Method Summary
static boolean sendEmail(java.lang.String message, java.lang.String subject, java.lang.String recipient, java.lang.String sender)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

private static javax.mail.Session session
Constructor Detail

MailUtil

public MailUtil()
Method Detail

sendEmail

public static boolean sendEmail(java.lang.String message,
                                java.lang.String subject,
                                java.lang.String recipient,
                                java.lang.String sender)


Copyright CSIR. All Rights Reserved.